File ManagerCurrent Directory: wp-content/plugins/wordpress-seo/src/presenters/twitterLinux appserver-7a7af3b2-php-0c9ec09e2f9746c2a80fa3756c076432 6.12.94+ #1 SMP Fri Jul 17 09:26:56 UTC 2026 x86_64Edit File: card-presenter.php <?php namespace Yoast\WP\SEO\Presenters\Twitter; use Yoast\WP\SEO\Presentations\Indexable_Presentation; use Yoast\WP\SEO\Presenters\Abstract_Indexable_Tag_Presenter; /** * Presenter class for the Twitter Card tag. */ class Card_Presenter extends Abstract_Indexable_Tag_Presenter { /** * The tag key name. * * @var string */ protected $key = 'twitter:card'; /** * Runs the card type through the `wpseo_twitter_card_type` filter. * * @return string The filtered card type. */ public function get() { /** * Filter: 'wpseo_twitter_card_type' - Allow changing the Twitter card type. * * @param string $card_type The card type. * @param Indexable_Presentation $presentation The presentation of an indexable. */ return \trim( \apply_filters( 'wpseo_twitter_card_type', $this->presentation->twitter_card, $this->presentation ) ); } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)Dircard-presenter.phpFile873.00 B Rename | Delete | Editcreator-presenter.phpFile491.00 B Rename | Delete | Editdescription-presenter.phpFile1.02 KB Rename | Delete | Editimage-presenter.phpFile995.00 B Rename | Delete | Editsite-presenter.phpFile1.64 KB Rename | Delete | Edittitle-presenter.phpFile929.00 B Rename | Delete | Edit