Server IP : 104.21.14.103 / Your IP : 52.14.107.40 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/woocommerce/src/Admin/PluginsProvider/ |
Upload File : |
<?php /** * Interface for a provider for getting access to plugin queries, * designed to be mockable for unit tests. */ namespace Automattic\WooCommerce\Admin\PluginsProvider; defined( 'ABSPATH' ) || exit; /** * Plugins Provider Interface */ interface PluginsProviderInterface { /** * Get an array of active plugin slugs. * * @return array */ public function get_active_plugin_slugs(); /** * Get plugin data. * * @param string $plugin Path to the plugin file relative to the plugins directory or the plugin directory name. * * @return array|false */ public function get_plugin_data( $plugin ); /** * Get the path to the plugin file relative to the plugins directory from the plugin slug. * * E.g. 'woocommerce' returns 'woocommerce/woocommerce.php' * * @param string $slug Plugin slug to get path for. * * @return string|false */ public function get_plugin_path_from_slug( $slug ); }