| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | use Elementor\TemplateLibrary\Source_Local; |
| 5 | 5 | use Elementor\Utils; |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Elementor section library document. |
| @@ -12,8 +12,9 @@ | ||
| 12 | 12 | * Elementor section library document. |
| 13 | 13 | * |
| 14 | 14 | * Elementor section library document handler class is responsible for |
| 15 | 15 | * handling a document of a section type. |
| 16 | + * | |
| 16 | 17 | */ |
| 17 | 18 | class Not_Supported extends Library_Document { |
| 18 | 19 | |
| 19 | 20 | /** |
| @@ -33,8 +34,12 @@ | ||
| 33 | 34 | $properties['register_type'] = false; |
| 34 | 35 | $properties['is_editable'] = false; |
| 35 | 36 | $properties['show_in_library'] = false; |
| 36 | 37 | $properties['show_in_finder'] = false; |
| 38 | + | |
| 39 | + $properties['cpt'] = [ | |
| 40 | + Source_Local::CPT, | |
| 41 | + ]; | |
| 37 | 42 | |
| 38 | 43 | return $properties; |
| 39 | 44 | } |
| 40 | 45 | |