This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/plugins/jetpack/modules/verification-tools.php
2017-01-12 23:10:07 +00:00

28 lines
886 B
PHP

<?php
/**
* Module Name: Site Verification
* Module Description: Verify your site or domain with Google Search Console, Pinterest, and others.
* First Introduced: 3.0
* Sort Order: 33
* Requires Connection: No
* Auto Activate: Yes
* Additional Search Queries: webmaster, seo, google, bing, pinterest, search, console
*/
function jetpack_load_verification_tools() {
include dirname( __FILE__ ) . "/verification-tools/blog-verification-tools.php";
}
function jetpack_verification_tools_loaded() {
Jetpack::enable_module_configurable( __FILE__ );
Jetpack::module_configuration_load( __FILE__, 'jetpack_verification_tools_configuration_load' );
}
add_action( 'jetpack_modules_loaded', 'jetpack_verification_tools_loaded' );
function jetpack_verification_tools_configuration_load() {
wp_safe_redirect( admin_url( 'tools.php' ) );
exit;
}
jetpack_load_verification_tools();