PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Elementor/Widgets/General/Notice.php +1 -16 2.2.23.2.6 View file →
@@ -52,23 +52,8 @@
52 52
53 53 /**
54 54 * @return void
55 55 */
56 - //public static function get_notice_template( $template, $template_name ) {
57 - // switch ( $template_name ) {
58 - // case 'notices/success.php':
59 - // case 'notices/error.php':
60 - // case 'notices/notice.php':
61 - // $rtsb_template = 'elementor/general/' . str_replace( '.php', '', $template_name );
62 - // $template = Fns::locate_template( $rtsb_template ) ?? $template;
63 - // break;
64 - // }
65 - // return $template;
66 - //}
67 -
68 - /**
69 - * @return void
70 - */
71 56 public function apply_the_hooks() {
72 57
73 58 }
74 59
@@ -80,9 +65,9 @@
80 65 protected function render() {
81 66 $this->apply_the_hooks();
82 67 $this->theme_support();
83 68
84 - if ( $this->is_builder_mode() ) {
69 + if ( $this->is_edit_mode() ) {
85 70 $all_notices = [
86 71 'success' => [
87 72 [
88 73 'notice' => esc_html__( 'This is demo preview for success notice.', 'shopbuilder' ) . '<a href="#" tabindex="1" class="button wc-forward">' . esc_html__( 'Demo Button', 'shopbuilder' ) . '</a>',