Initial commit
This commit is contained in:
commit
28e6ddf404
1083 changed files with 191734 additions and 0 deletions
28
plugins/jetpack/modules/verification-tools.php
Normal file
28
plugins/jetpack/modules/verification-tools.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?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();
|
Reference in a new issue