PluginProbe
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts / 2.8.15
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts v2.8.15
2.8.15 2.8.14 2.8.13 2.8.12 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.10 2.8.11 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 trunk 1.0.1 1.0.2 1.1.0 All 148 releases
← All changes | includes/patterns.php +4 -2 2.8.8 → 2.8.15 View file →
@@ -45,9 +45,11 @@
45 45 */
46 46 protected $max_items = 200;
47 47
48 48 /**
49 - * Constructor
49 + * The constructor
50 + *
51 + * @param ContentBlocksBuilder $the_plugin_instance
50 52 */
51 53 public function __construct( $the_plugin_instance ) {
52 54 parent::__construct( $the_plugin_instance );
53 55
@@ -88,9 +90,9 @@
88 90 // Handle save post.
89 91 add_action( 'save_post_' . $this->post_type, [ $this, 'save_post' ], 10, 2 );
90 92
91 93 // Clear the transient cache on upgraded.
92 - add_action( 'cbb_version_upgraded', [ $this, 'clear_transient_cache' ] );
94 + add_action( 'cbb/version_upgraded', [ $this, 'clear_transient_cache' ] );
93 95
94 96 // Force to remove custom fields.
95 97 add_action( 'add_meta_boxes', [ $this, 'remove_meta_boxes' ] );
96 98 }