jetpack_disable_twitter_cards, false
jetpack_disable_twitter_cards, false
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_disable_twitter_cards, false') is found 2 times:
- /class.jetpack.php line 2084
* @since 2.6.0 * * @param bool true Should Twitter Card Meta tags be disabled. Default to true. */ if ( ! apply_filters( 'jetpack_disable_twitter_cards', false ) ) { // @todo Remove this require once the deprecated Jetpack_Twitter_Cards wrapper has been removed. // Twitter Cards functionality now lives in the jetpack-post-media package (Automattic\Jetpack\Post_Media\Twitter_Cards). require_once JETPACK__PLUGIN_DIR . 'class.jetpack-twitter-cards.php'; } } - /jetpack_vendor/automattic/jetpack-post-media/src/class-twitter-cards.php line 45
return $og_tags; } /** This action is documented in class.jetpack.php */ if ( apply_filters( 'jetpack_disable_twitter_cards', false ) ) { return $og_tags; } /* * These tags apply to any page (home, archives, etc). */