*/ public static function get_properties(): array { $properties = parent::get_properties(); return array_merge($properties, [ 'location' => 'woo-builder', 'support_wp_page_templates' => true, 'support_site_editor' => false, 'has_elements' => true, 'support_kit' => true, 'cpt' => ['elementor_library'], ]); } /** * Get the document edit URL. * * @return string */ public function get_edit_url(): string { $url = parent::get_edit_url(); if ($url) { $url = add_query_arg('action', 'elementor', $url); } return $url; } }