芝麻web文件管理V1.00
编辑当前文件:/var/www/gruppocestari.com/wp-content/plugins/imagify/imagify.php
'Imagify', 'plugin_file' => IMAGIFY_FILE, 'plugin_version' => IMAGIFY_VERSION, 'wp_version' => '5.3', 'php_version' => '7.0', ) ); $check = $requirement_checks->check(); return $check; } /** * Load plugin translations. * * @since 1.9 */ function imagify_load_translations() { load_plugin_textdomain( 'imagify', false, dirname( plugin_basename( IMAGIFY_FILE ) ) . '/languages/' ); } add_action( 'init', 'imagify_load_translations' ); /** * Set a transient on plugin activation, it will be used later to trigger activation hooks after the plugin is loaded. * The transient contains the ID of the user that activated the plugin. * * @since 1.9 * @see Imagify_Plugin->maybe_activate() * @author Grégory Viguier */ function imagify_set_activation() { if ( ! imagify_pass_requirements() ) { return; } if ( imagify_is_active_for_network() ) { set_site_transient( 'imagify_activation', get_current_user_id(), 30 ); } else { set_transient( 'imagify_activation', get_current_user_id(), 30 ); } } register_activation_hook( IMAGIFY_FILE, 'imagify_set_activation' ); /** * Trigger a hook on plugin deactivation. * * @since 1.9 * @author Grégory Viguier */ function imagify_deactivation() { if ( ! imagify_pass_requirements() ) { return; } /** * Imagify deactivation. * * @since 1.9 * @author Grégory Viguier */ do_action( 'imagify_deactivation' ); } register_deactivation_hook( IMAGIFY_FILE, 'imagify_deactivation' );