Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

function get_all_templates_in_kit()

$
0
0

Replies: 0

I would like to know why there are differences as I tried to express below;

			$theme_builder_templates = get_posts(
				array(
					'post_type'   => 'elementor_library',
					'numberposts' => - 1,
				)
			);

in class-template-kit-export-builders-elementor.php

and used;

		$posts     = get_posts(
			array(
				'post_type'   => Template_Kit_Export_CPT::CPT_SLUG,
				'numberposts' => - 1,
			)
		);

in class-template-kit-export-builders-base.php

As I can see using “elementor_library” as post type loading templates from Elementor Pro.

So, does it mean we don’t need to create Templates under template kit?

If I select templates from Elementor Pro templates I get lots of errors on Export Step 2. and I can not exclude the items till I delete records manually from the database in “postmeta “table with “meta_key=envato_tk_post_meta”

Thank you.


Viewing all articles
Browse latest Browse all 59525

Trending Articles