| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | |
| 4 | 4 | use Elementor\Core\DocumentTypes\Post; |
| 5 | 5 | |
| 6 | 6 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | - exit; // Exit if accessed directly. | |
| 7 | + exit; // Exit if accessed directly | |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Elementor page library document. |
| @@ -32,9 +32,8 @@ | ||
| 32 | 32 | $properties = parent::get_properties(); |
| 33 | 33 | |
| 34 | 34 | $properties['support_wp_page_templates'] = true; |
| 35 | 35 | $properties['support_kit'] = true; |
| 36 | - $properties['show_in_finder'] = true; | |
| 37 | 36 | |
| 38 | 37 | return $properties; |
| 39 | 38 | } |
| 40 | 39 | |
| @@ -57,13 +56,9 @@ | ||
| 57 | 56 | return esc_html__( 'Page', 'elementor' ); |
| 58 | 57 | } |
| 59 | 58 | |
| 60 | 59 | public static function get_plural_title() { |
| 61 | - return esc_html__( 'Pages', 'elementor' ); | |
| 62 | - } | |
| 63 | - | |
| 64 | - public static function get_add_new_title() { | |
| 65 | - return esc_html__( 'Add New Page Template', 'elementor' ); | |
| 60 | + return __( 'Pages', 'elementor' ); | |
| 66 | 61 | } |
| 67 | 62 | |
| 68 | 63 | /** |
| 69 | 64 | * @since 2.1.3 |