Change Twitter Card type
-
Hey guys,
Does anyone know what filter/hook thing should I add to my functions.php file to change the Twitter Card type?
Within the plugin you can find this:
This defaults to summary but can be filtered using the wpseo_twitter_card_type filter.
/** * Display the Twitter card type. * * This defaults to summary but can be filtered using the <code>wpseo_twitter_card_type</code> filter. */ public function type() { echo '<meta name="twitter:card" content="' . apply_filters( 'wpseo_twitter_card_type', 'summary' ) . '"/>' . "\n"; }
Any idea?
Thanks in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change Twitter Card type’ is closed to new replies.