| 1 |
<?php |
| 2 |
namespace Elementor\Core\Isolation; |
| 3 |
|
| 4 |
class Wordpress_Adapter implements Wordpress_Adapter_Interface { |
| 5 |
|
| 6 |
public function get_plugins(): array { |
| 7 |
return get_plugins(); |
| 8 |
} |
| 9 |
|
| 10 |
public function is_plugin_active( $plugin_path ): bool { |
| 11 |
return is_plugin_active( $plugin_path ); |
| 12 |
} |
| 13 |
|
| 14 |
public function wp_nonce_url( $url, $action ): string { |
| 15 |
return wp_nonce_url( $url, $action ); |
| 16 |
} |
| 17 |
|
| 18 |
public function self_admin_url( $path ): string { |
| 19 |
return self_admin_url( $path ); |
| 20 |
} |
| 21 |
} |
| 22 |
|