File Editor
Directories:
.. (Back)
Files:
amp.php
bbpress.php
elementor.php
exclude-elementor-post-types.php
exclude-woocommerce-post-types.php
jetpack.php
w3-total-cache.php
web-stories-post-edit.php
web-stories.php
wincher-publish.php
woocommerce-permalinks.php
woocommerce-post-edit.php
woocommerce.php
wpml-wpseo-notification.php
wpml.php
Create New File
Create
Edit File: jetpack.php
<?php namespace Yoast\WP\SEO\Integrations\Third_Party; use Yoast\WP\SEO\Conditionals\Front_End_Conditional; use Yoast\WP\SEO\Conditionals\Jetpack_Conditional; use Yoast\WP\SEO\Conditionals\Open_Graph_Conditional; use Yoast\WP\SEO\Integrations\Integration_Interface; /** * Jetpack integration. */ class Jetpack implements Integration_Interface { /** * Returns the conditionals based in which this loadable should be active. * * @return array */ public static function get_conditionals() { return [ Front_End_Conditional::class, Jetpack_Conditional::class, Open_Graph_Conditional::class ]; } /** * Initializes the integration. * * This is the place to register hooks and filters. * * @return void */ public function register_hooks() { \add_filter( 'jetpack_enable_open_graph', '__return_false' ); } }
Save Changes
Rename File
Rename