PluginProbe
Elementor Website Builder – more than just a page builder / 3.1.2
Elementor Website Builder – more than just a page builder v3.1.2
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 4.0.7 All 451 releases
← All changes | core/wp-api.php +0 -29 4.1.0-dev23.1.2 View file →
@@ -21,12 +21,8 @@
21 21 /**
22 22 * @return Collection
23 23 */
24 24 public function get_plugins() {
25 - if ( ! function_exists( 'get_plugins' ) ) {
26 - require_once ABSPATH . 'wp-admin/includes/plugin.php';
27 - }
28 -
29 25 if ( ! $this->plugins ) {
30 26 $this->plugins = new Collection( get_plugins() );
31 27 }
32 28
@@ -38,31 +34,6 @@
38 34 */
39 35 public function get_active_plugins() {
40 36 return $this->get_plugins()
41 37 ->only( get_option( 'active_plugins' ) );
42 - }
43 -
44 - /**
45 - * @return object|array
46 - */
47 - public function plugins_api( $action, $args ) {
48 - return plugins_api( $action, $args );
49 - }
50 -
51 - /**
52 - * @return bool
53 - */
54 - public function is_plugin_active( $plugin ) {
55 - return is_plugin_active( $plugin );
56 - }
57 -
58 - /**
59 - * @return bool|int|null|true
60 - */
61 - public function activate_plugin( $plugin ) {
62 - return activate_plugin( $plugin );
63 - }
64 -
65 - public function wp_attachment_is_image( $post = null ) {
66 - return wp_attachment_is_image( $post );
67 38 }
68 39 }