• Resolved freevision

    (@sgeray)


    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 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘function get_all_templates_in_kit()’ is closed to new replies.