calypsoify
2 years ago
carousel
2 years ago
cloudflare-analytics
2 years ago
comment-likes
5 years ago
comments
2 years ago
custom-css
2 years ago
custom-post-types
2 years ago
geo-location
4 years ago
google-analytics
2 years ago
google-fonts
2 years ago
gravatar
6 years ago
infinite-scroll
2 years ago
likes
2 years ago
markdown
2 years ago
masterbar
2 years ago
memberships
2 years ago
photon-cdn
2 years ago
plugin-search
4 years ago
post-by-email
3 years ago
related-posts
2 years ago
scan
2 years ago
seo-tools
2 years ago
sharedaddy
2 years ago
shortcodes
2 years ago
simple-payments
3 years ago
site-icon
2 years ago
sitemaps
2 years ago
sso
2 years ago
stats
2 years ago
subscriptions
2 years ago
theme-tools
2 years ago
tiled-gallery
2 years ago
verification-tools
4 years ago
videopress
2 years ago
widget-visibility
2 years ago
widgets
2 years ago
woocommerce-analytics
2 years ago
wordads
2 years ago
wpcom-block-editor
2 years ago
wpcom-tos
5 years ago
blaze.php
2 years ago
carousel.php
2 years ago
comment-likes.php
2 years ago
comments.php
2 years ago
contact-form.php
2 years ago
copy-post.php
2 years ago
custom-content-types.php
4 years ago
custom-css.php
2 years ago
geo-location.php
4 years ago
google-analytics.php
2 years ago
google-fonts.php
2 years ago
gravatar-hovercards.php
2 years ago
infinite-scroll.php
3 years ago
json-api.php
5 years ago
latex.php
4 years ago
likes.php
2 years ago
markdown.php
4 years ago
masterbar.php
2 years ago
module-extras.php
2 years ago
module-headings.php
2 years ago
module-info.php
2 years ago
monitor.php
2 years ago
notes.php
2 years ago
photon-cdn.php
2 years ago
photon.php
3 years ago
plugin-search.php
2 years ago
post-by-email.php
5 years ago
post-list.php
4 years ago
protect.php
3 years ago
publicize.php
2 years ago
related-posts.php
2 years ago
search.php
4 years ago
seo-tools.php
2 years ago
sharedaddy.php
2 years ago
shortcodes.php
2 years ago
shortlinks.php
2 years ago
sitemaps.php
4 years ago
sso.php
2 years ago
stats.php
2 years ago
subscriptions.php
2 years ago
theme-tools.php
3 years ago
tiled-gallery.php
4 years ago
vaultpress.php
2 years ago
verification-tools.php
5 years ago
videopress.php
4 years ago
waf.php
3 years ago
widget-visibility.php
4 years ago
widgets.php
3 years ago
woocommerce-analytics.php
2 years ago
wordads.php
2 years ago
wpgroho.js
6 years ago
seo-tools.php
49 lines
| 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: No |
| 9 | * Requires User Connection: No |
| 10 | * Auto Activate: No |
| 11 | * Module Tags: Social, Appearance |
| 12 | * Feature: Traffic |
| 13 | * Additional Search Queries: search engine optimization, social preview, meta description, custom title format |
| 14 | * |
| 15 | * @package automattic/jetpack |
| 16 | */ |
| 17 | |
| 18 | // Suppress SEO Tools output if any of the following plugins is active. |
| 19 | $jetpack_seo_conflicting_plugins = array( |
| 20 | 'wordpress-seo/wp-seo.php', |
| 21 | 'wordpress-seo-premium/wp-seo-premium.php', |
| 22 | 'all-in-one-seo-pack/all_in_one_seo_pack.php', |
| 23 | 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php', |
| 24 | 'seo-by-rank-math/rank-math.php', |
| 25 | 'autodescription/autodescription.php', |
| 26 | 'slim-seo/slim-seo.php', |
| 27 | 'wp-seopress/seopress.php', |
| 28 | 'wp-seopress-pro/seopress-pro.php', |
| 29 | 'seo-key/seo-key.php', |
| 30 | 'seo-key-pro/seo-key.php', |
| 31 | ); |
| 32 | |
| 33 | foreach ( $jetpack_seo_conflicting_plugins as $seo_plugin ) { |
| 34 | if ( Jetpack::is_plugin_active( $seo_plugin ) ) { |
| 35 | // Disable all custom meta tags that SEO tools manages. |
| 36 | add_filter( 'jetpack_disable_seo_tools', '__return_true' ); |
| 37 | |
| 38 | // Also disable default meta tags. |
| 39 | add_filter( 'jetpack_seo_meta_tags_enabled', '__return_false' ); |
| 40 | break; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | /** This filter is documented in modules/seo-tools/class-jetpack-seo-utils.php */ |
| 45 | if ( ! apply_filters( 'jetpack_disable_seo_tools', false ) ) { |
| 46 | require_once __DIR__ . '/seo-tools/class-jetpack-seo.php'; |
| 47 | new Jetpack_SEO(); |
| 48 | } |
| 49 |