PluginProbe
Elementor Website Builder – more than just a page builder / 3.2.3
Elementor Website Builder – more than just a page builder v3.2.3
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 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | core/frontend/render-modes/render-mode-base.php +9 -4 4.1.53.2.3 View file →
@@ -34,9 +34,10 @@
34 34
35 35 /**
36 36 * Returns the key name of the class.
37 37 *
38 - * @throws \Exception If the `get_name` method is not implemented.
38 + * @return string
39 + * @throws \Exception
39 40 */
40 41 public static function get_name() {
41 42 throw new \Exception( 'You must implements `get_name` static method in ' . static::class );
42 43 }
@@ -44,9 +45,9 @@
44 45 /**
45 46 * @param $post_id
46 47 *
47 48 * @return string
48 - * @throws \Exception If the `get_name` method is not implemented.
49 + * @throws \Exception
49 50 */
50 51 public static function get_url( $post_id ) {
51 52 return Render_Mode_Manager::get_base_url( $post_id, static::get_name() );
52 53 }
@@ -66,14 +67,18 @@
66 67
67 68 /**
68 69 * By default do not do anything.
69 70 */
70 - protected function enqueue_scripts() {}
71 + protected function enqueue_scripts() {
72 + //
73 + }
71 74
72 75 /**
73 76 * By default do not do anything.
74 77 */
75 - protected function enqueue_styles() {}
78 + protected function enqueue_styles() {
79 + //
80 + }
76 81
77 82 /**
78 83 * Check if the current user has permissions for the current render mode.
79 84 *