Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/web-stories/includes/Infrastructure/PluginActivationAware.php
Назад
<?php /** * Interface PluginActivationAware. * * @link https://www.mwpd.io/ * * @copyright 2019 Alain Schlesser * @license MIT */ /** * Original code modified for this project. * * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 */ declare(strict_types = 1); namespace Google\Web_Stories\Infrastructure; /** * Something that can be activated. * * By tagging a service with this interface, the system will automatically hook * it up to the WordPress activation hook. * * This way, we can just add the simple interface marker and not worry about how * to wire up the code to reach that part during the static activation hook. * * @internal * * @since 1.6.0 */ interface PluginActivationAware { /** * Act on plugin activation. * * @since 1.6.0 * * @param bool $network_wide Whether the activation was done network-wide. */ public function on_plugin_activation( bool $network_wide ): void; }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка