| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | use Elementor\Modules\Library\Traits\Library; |
| 6 | 6 | use Elementor\TemplateLibrary\Source_Local; |
| 7 | 7 | |
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | - exit; // Exit if accessed directly. | |
| 9 | + exit; // Exit if accessed directly | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Elementor library document. |
| @@ -27,13 +27,8 @@ | ||
| 27 | 27 | */ |
| 28 | 28 | const TAXONOMY_TYPE_SLUG = 'elementor_library_type'; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * The customization group for Kit Export. | |
| 32 | - */ | |
| 33 | - const EXPORT_GROUP = 'site-templates'; | |
| 34 | - | |
| 35 | - /** | |
| 36 | 31 | * Get document properties. |
| 37 | 32 | * |
| 38 | 33 | * Retrieve the document properties. |
| 39 | 34 | * |
| @@ -48,10 +43,8 @@ | ||
| 48 | 43 | |
| 49 | 44 | $properties['admin_tab_group'] = 'library'; |
| 50 | 45 | $properties['show_in_library'] = true; |
| 51 | 46 | $properties['register_type'] = true; |
| 52 | - $properties['cpt'] = [ Source_Local::CPT ]; | |
| 53 | - $properties['export_group'] = static::EXPORT_GROUP; | |
| 54 | 47 | |
| 55 | 48 | return $properties; |
| 56 | 49 | } |
| 57 | 50 | |
| @@ -75,10 +68,6 @@ | ||
| 75 | 68 | 'save_as_same_type' => true, |
| 76 | 69 | ]; |
| 77 | 70 | |
| 78 | 71 | return $config; |
| 79 | - } | |
| 80 | - | |
| 81 | - public function get_content( $with_css = false ) { | |
| 82 | - return do_shortcode( parent::get_content( $with_css ) ); | |
| 83 | 72 | } |
| 84 | 73 | } |