Server IP : 66.29.132.124 / Your IP : 3.148.115.40 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/diixadigital.com/wp-content/plugins/indexnow/ |
Upload File : |
<?php /** * @link https://www.bing.com/webmaster * @since 0.01.01 * @package BWT_IndexNow * * @wordpress-plugin * Plugin Name: IndexNow * Plugin URI: https://www.bing.com/webmaster * Description: A small plugin to allow Url submissions to IndexNow. * Version: 1.0.3 * Author: Microsoft Bing * Author URI: https://www.bing.com/indexnow * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Text Domain: indexnow * Domain Path: /languages */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } /** * Currently plugin version. */ define( 'BWT_INDEXNOW_PLUGIN_VERSION', '1.0.3' ); /** * Plugin name. */ define( 'BWT_INDEXNOW_PLUGIN_NAME', 'indexnow' ); /** * The code that runs during plugin activation. */ function activate_indexnow_url_submission() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-indexnow-url-submission-activator.php'; BWT_IndexNow_Activator::activate(BWT_INDEXNOW_PLUGIN_NAME); } /** * The code that runs during plugin deactivation. */ function deactivate_indexnow_url_submission() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-indexnow-url-submission-deactivator.php'; BWT_IndexNow_Deactivator::deactivate(BWT_INDEXNOW_PLUGIN_NAME); } register_activation_hook( __FILE__, 'activate_indexnow_url_submission' ); register_deactivation_hook( __FILE__, 'deactivate_indexnow_url_submission' ); /** * The core plugin class that is used to define admin-specific hooks. */ require plugin_dir_path( __FILE__ ) . 'includes/class-indexnow-url-submission.php'; /** * Begins execution of the plugin. * * @since 0.01.01 */ function run_indexnow_url_submission() { $plugin = new BWT_IndexNow(BWT_INDEXNOW_PLUGIN_NAME); $plugin->run(); } run_indexnow_url_submission();