PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
← All changes | modules/flow/templates/template-default.php +21 -2 1.1.0 → 3.3.0 View file →
@@ -4,8 +4,12 @@
4 4 *
5 5 * @package CartFlows
6 6 */
7 7
8 +// Exit if accessed directly.
9 +if ( ! defined( 'ABSPATH' ) ) {
10 + exit;
11 +}
8 12 ?>
9 13
10 14 <!DOCTYPE html>
11 15 <html <?php language_attributes(); ?> class="no-js">
@@ -16,9 +20,22 @@
16 20 <?php wp_head(); ?>
17 21 </head>
18 22
19 23 <body <?php body_class(); ?>>
20 - <div class="cartflows-container">
24 +
25 + <?php
26 + wp_body_open();
27 +
28 + do_action( 'cartflows_body_top' );
29 + ?>
30 +
31 + <?php
32 +
33 + $atts_string = Cartflows_Helper::get_cartflows_container_atts();
34 +
35 + ?>
36 + <?php // HTML attributes are already sanitized individually. ?>
37 + <div class="cartflows-container" <?php echo trim( $atts_string ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
21 38 <?php
22 39 do_action( 'cartflows_container_top' );
23 40 ?>
24 41 <div class="cartflows-primary">
@@ -34,10 +51,12 @@
34 51 <?php
35 52 do_action( 'cartflows_container_bottom' );
36 53 ?>
37 54 </div>
38 -<?php wp_footer(); ?>
39 55
56 + <?php do_action( 'cartflows_wp_footer' ); ?>
57 +
58 + <?php wp_footer(); ?>
40 59 </body>
41 60
42 61 </html>
43 62