Server IP : 104.21.14.103 / Your IP : 18.219.159.197 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 : /home/giankuin/khowordpress.com/wp-content/plugins/woocommerce/src/Admin/PluginsInstallLoggers/ |
Upload File : |
<?php namespace Automattic\WooCommerce\Admin\PluginsInstallLoggers; /** * A logger used in PluginsHelper::install_plugins to log the installation progress. */ interface PluginsInstallLogger { /** * Called when a plugin install requested. * * @param string $plugin_name plugin name. * @return mixed */ public function install_requested( string $plugin_name ); /** * Called when a plugin installed successfully. * * @param string $plugin_name plugin name. * @param int $duration # of seconds it took to install $plugin_name. * @return mixed */ public function installed( string $plugin_name, int $duration); /** * Called when a plugin activated successfully. * * @param string $plugin_name plugin name. * @return mixed */ public function activated( string $plugin_name ); /** * Called when an error occurred while installing a plugin. * * @param string $plugin_name plugin name. * @param string|null $error_message error message. * @return mixed */ public function add_error( string $plugin_name, string $error_message = null); /** * Called when all plugins are processed. * * @param array $data return data from install_plugins(). * @return mixed */ public function complete( $data = array() ); }