Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/google-listings-and-ads/src/Internal/InstallTimestamp.php
Назад
<?php declare( strict_types=1 ); namespace Automattic\WooCommerce\GoogleListingsAndAds\Internal; use Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\AdminConditional; use Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\Conditional; use Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces\FirstInstallInterface; use Automattic\WooCommerce\GoogleListingsAndAds\Options\OptionsAwareInterface; use Automattic\WooCommerce\GoogleListingsAndAds\Options\OptionsAwareTrait; use Automattic\WooCommerce\GoogleListingsAndAds\Options\OptionsInterface; use Automattic\WooCommerce\GoogleListingsAndAds\PluginHelper; defined( 'ABSPATH' ) || exit; /** * Class InstallTimestamp * * @package Automattic\WooCommerce\GoogleListingsAndAds\Internal */ class InstallTimestamp implements Conditional, FirstInstallInterface, OptionsAwareInterface { use AdminConditional; use OptionsAwareTrait; use PluginHelper; /** * Logic to run when the plugin is first installed. */ public function first_install(): void { $this->options->add( OptionsInterface::INSTALL_TIMESTAMP, time() ); $this->options->add( OptionsInterface::INSTALL_VERSION, $this->get_version() ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка