*/ public static function get_properties(): array { return array_merge(parent::get_properties(), [ 'location' => 'king-addons-loop', 'support_wp_page_templates' => false, 'support_site_editor' => false, 'has_elements' => true, 'support_kit' => true, 'cpt' => ['elementor_library'], ]); } /** * Open the template straight in the editor from the library list. * * @return string */ public function get_edit_url(): string { $url = parent::get_edit_url(); if ($url) { $url = add_query_arg('action', 'elementor', $url); } return $url; } }