PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 8.9.4
Jetpack – WP Security, Backup, Speed, & Growth v8.9.4
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
jetpack / modules / seo-tools.php
seo-tools.php
42 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Module Name: SEO Tools
4 * Module Description: Better results on search engines and social media.
5 * Sort Order: 35
6 * Recommendation Order: 15
7 * First Introduced: 4.4
8 * Requires Connection: Yes
9 * Auto Activate: No
10 * Module Tags: Social, Appearance
11 * Feature: Traffic
12 * Additional Search Queries: search engine optimization, social preview, meta description, custom title format
13 * Plans: business, premium, security, complete
14 */
15
16 include dirname( __FILE__ ) . '/seo-tools/jetpack-seo.php';
17 include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
18
19 // Suppress SEO Tools output if any of the following plugins is active.
20 $jetpack_seo_conflicting_plugins = array(
21 'wordpress-seo/wp-seo.php',
22 'wordpress-seo-premium/wp-seo-premium.php',
23 'all-in-one-seo-pack/all_in_one_seo_pack.php',
24 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php',
25 'seo-by-rank-math/rank-math.php',
26 'autodescription/autodescription.php',
27 'slim-seo/slim-seo.php',
28 );
29
30 foreach( $jetpack_seo_conflicting_plugins as $seo_plugin ) {
31 if ( Jetpack::is_plugin_active( $seo_plugin ) ) {
32 // Disable all custom meta tags that SEO tools manages.
33 add_filter( 'jetpack_disable_seo_tools', '__return_true' );
34
35 // Also disable default meta tags.
36 add_filter( 'jetpack_seo_meta_tags_enabled', '__return_false' );
37 break;
38 }
39 }
40
41 new Jetpack_SEO;
42