Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public function add_compatibility_elementor_page_templates() {
$page_templates_module = Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' );
add_filter( 'template_include', array( $page_templates_module, 'template_include' ), 100 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment