FileMaster
Search
Toggle Dark Mode
Home
/
.
/
kiara
/
wp-content
/
plugins
/
pinterest-for-woocommerce
/
src
Edit File: PluginActivate.php
<?php /** * Helper class for handling the activation hook. * * @package Automattic\WooCommerce\Pinterest * @since 1.1.0 */ namespace Automattic\WooCommerce\Pinterest; use Automattic\WooCommerce\Pinterest\Admin\ActivationRedirect; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Class PluginActivate */ class PluginActivate { /** * Activation hook * * @since 1.1.0 */ public function activate(): void { // Init the update class. $this->init_plugin_update(); // Maybe update the redirect option. ( new ActivationRedirect() )->maybe_update_redirect_option(); } /** * Initialize the update helper class. * * @since 1.1.0 */ protected function init_plugin_update(): void { ( new PluginUpdate() )->update_plugin_update_version_option(); } }
Save
Back