Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 6 |
|
0.00% |
0 / 2 |
CRAP | n/a |
0 / 0 |
|
| jetpack_load_verification_tools | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| jetpack_verification_tools_loaded | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * Module Name: Site verification |
| 4 | * Module Description: Verify your site with search engines and social platforms in a couple of clicks. |
| 5 | * First Introduced: 3.0 |
| 6 | * Sort Order: 33 |
| 7 | * Requires Connection: No |
| 8 | * Auto Activate: Yes |
| 9 | * Feature: Engagement |
| 10 | * Additional Search Queries: webmaster, seo, google, bing, pinterest, search, console |
| 11 | * |
| 12 | * @package automattic/jetpack |
| 13 | */ |
| 14 | |
| 15 | if ( ! defined( 'ABSPATH' ) ) { |
| 16 | exit( 0 ); |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Load Verification Tools code. |
| 21 | */ |
| 22 | function jetpack_load_verification_tools() { |
| 23 | include __DIR__ . '/verification-tools/blog-verification-tools.php'; |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Functionality to load for Verification Tools after all modules have been loaded. |
| 28 | */ |
| 29 | function jetpack_verification_tools_loaded() { |
| 30 | Jetpack::enable_module_configurable( __FILE__ ); |
| 31 | } |
| 32 | add_action( 'jetpack_modules_loaded', 'jetpack_verification_tools_loaded' ); |
| 33 | |
| 34 | jetpack_load_verification_tools(); |