??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/renovaid.co.uk/wp-content/plugins/elementor/core/isolation/plugin-status-adapter.php
⬅ Kembali
<?php
namespace Elementor\Core\Isolation;
class Plugin_Status_Adapter implements Plugin_Status_Adapter_Interface {
public Wordpress_Adapter_Interface $wordpress_adapter;
public function __construct( Wordpress_Adapter_Interface $wordpress_adapter ) {
$this->wordpress_adapter = $wordpress_adapter;
}
public function is_plugin_installed( $plugin_path ): bool {
$installed_plugins = $this->wordpress_adapter->get_plugins();
return isset( $installed_plugins[ $plugin_path ] );
}
public function get_install_plugin_url( $plugin_path ): string {
$slug = dirname( $plugin_path );
$admin_base_url = $this->wordpress_adapter->self_admin_url( 'update.php' );
$admin_url = add_query_arg( [
'action' => 'install-plugin',
'plugin' => $slug,
], $admin_base_url );
return $this->wordpress_adapter->wp_nonce_url( $admin_url, 'install-plugin_' . $slug );
}
public function get_activate_plugin_url( $plugin_path ): string {
$admin_base_url = $this->wordpress_adapter->self_admin_url( 'plugins.php' );
$admin_url = add_query_arg( [
'action' => 'activate',
'plugin' => $plugin_path,
'plugin_status' => 'all',
'paged' => 1,
's' => '',
], $admin_base_url );
return $this->wordpress_adapter->wp_nonce_url( $admin_url, 'activate-plugin_' . $plugin_path );
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
🐘 elementor-adapter-interface.php
php
496 B
2025-03-17 17:28
🐘 elementor-adapter.php
php
1.6 KB
2025-03-17 17:28
🐘 elementor-counter-adapter-interface.php
php
324 B
2025-03-17 17:28
🐘 plugin-status-adapter-interface.php
php
283 B
2024-04-15 15:06
🐘 plugin-status-adapter.php
php
1.3 KB
2024-10-28 15:08
🐘 wordpress-adapter-interface.php
php
988 B
2025-03-17 17:28
🐘 wordpress-adapter.php
php
2.5 KB
2025-03-17 17:28