PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.4.5
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.4.5
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Builder/Source.php +4 -2 3.0.63.4.5 View file →
@@ -1,8 +1,9 @@
1 1 <?php
2 2
3 3 namespace Templately\Builder;
4 4
5 +use Templately\Core\Importer\FullSiteImport;
5 6 use Templately\Utils\Helper;
6 7 use WP_Post;
7 8 use WP_Query;
8 9
@@ -25,9 +26,9 @@
25 26 $this->register_post_type();
26 27 }
27 28
28 29 private function add_actions() {
29 - add_filter( 'views_edit-' . self::CPT, [ $this, 'admin_print_tabs' ] );
30 + add_filter( 'views_edit-' . self::CPT, [ $this, 'admin_print_tabs' ], 100 );
30 31 add_action( 'in_admin_header', [ $this, 'in_admin_header' ] );
31 32 if ( is_admin() ) {
32 33 // add_action( 'manage_posts_extra_tablenav', [ $this, 'extra_table_nav' ] );
33 34 add_action( 'manage_' . self::CPT . '_posts_custom_column', [ $this, 'custom_column' ], 10, 2 );
@@ -35,9 +36,9 @@
35 36 add_filter( 'post_row_actions', [ $this, 'post_row_actions' ], 10, 2 );
36 37 add_action( 'admin_footer', [ $this, 'app' ] );
37 38 }
38 39
39 - add_action( 'save_post', [ $this, 'save_post' ], 11, 3 );
40 + // add_action( 'save_post', [ $this, 'save_post' ], 11, 3 );
40 41 }
41 42
42 43 /**
43 44 * If needed to add a filter for platform
@@ -234,8 +235,9 @@
234 235 ];
235 236 }
236 237
237 238 $this->builder::$views->get( 'builder/tabs', [ 'tabs' => $tabs, 'template_types' => $template_types ] );
239 + return [];
238 240 }
239 241
240 242 /**
241 243 * Retrieves items.