PluginProbe
Elementor Website Builder – more than just a page builder / 3.3.0
Elementor Website Builder – more than just a page builder v3.3.0
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
← All changes | modules/library/documents/page.php +5 -11 3.2.5 → 3.3.0 View file →
@@ -36,19 +36,9 @@
36 36
37 37 return $properties;
38 38 }
39 39
40 - /**
41 - * Get document name.
42 - *
43 - * Retrieve the document name.
44 - *
45 - * @since 2.0.0
46 - * @access public
47 - *
48 - * @return string Document name.
49 - */
50 - public function get_name() {
40 + public static function get_type() {
51 41 return 'page';
52 42 }
53 43
54 44 /**
@@ -63,8 +53,12 @@
63 53 * @return string Document title.
64 54 */
65 55 public static function get_title() {
66 56 return __( 'Page', 'elementor' );
57 + }
58 +
59 + public static function get_plural_title() {
60 + return __( 'Pages', 'elementor' );
67 61 }
68 62
69 63 /**
70 64 * @since 2.1.3