Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tomas/public_html/wp-content/plugins/wordpress-seo/src/presenters/twitter/ |
Upload File : |
<?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 title. */ class Title_Presenter extends Abstract_Indexable_Tag_Presenter { /** * The tag key name. * * @var string */ protected $key = 'twitter:title'; /** * Run the Twitter title through replace vars and the `wpseo_twitter_title` filter. * * @return string The filtered Twitter title. */ public function get() { /** * Filter: 'wpseo_twitter_title' - Allow changing the Twitter title. * * @param string $twitter_title The Twitter title. * @param Indexable_Presentation $presentation The presentation of an indexable. */ return \trim( \apply_filters( 'wpseo_twitter_title', $this->replace_vars( $this->presentation->twitter_title ), $this->presentation ) ); } }