| Server IP : 178.212.43.201 / Your IP : 10.100.0.33 Web Server : Apache/2.4.37 (Oracle Linux Server) OpenSSL/1.1.1k System : Linux spa0007.srv.paxillus.pl 5.4.17-2136.355.3.1.el8uek.x86_64 #3 SMP Sat May 9 17:11:55 PDT 2026 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/springup/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.4
* 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.4' );
/**
* 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();