PATH:
home
/
letacommog
/
lescompagnons
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
presenters
<?php /** * Abstract presenter class for the robots output. * * @package Yoast\YoastSEO\Presenters */ namespace Yoast\WP\SEO\Presenters; /** * Class Robots_Presenter */ class Robots_Presenter extends Abstract_Indexable_Presenter { /** * Returns the robots output. * * @return string The robots output tag. */ public function present() { $robots = \implode( ', ', $this->get() ); if ( \is_string( $robots ) && $robots !== '' ) { return \sprintf( '<meta name="robots" content="%s" />', \esc_attr( $robots ) ); } return ''; } /** * Gets the raw value of a presentation. * * @return array The raw value. */ public function get() { return $this->presentation->robots; } }
[+]
..
[-] abstract-indexable-tag-presenter.php
[edit]
[-] abstract-presenter.php
[edit]
[+]
webmaster
[+]
admin
[-] rel-next-presenter.php
[edit]
[-] breadcrumbs-presenter.php
[edit]
[+]
twitter
[-] rel-prev-presenter.php
[edit]
[-] canonical-presenter.php
[edit]
[+]
open-graph
[-] url-list-presenter.php
[edit]
[-] bingbot-presenter.php
[edit]
[-] robots-presenter.php
[edit]
[-] title-presenter.php
[edit]
[-] googlebot-presenter.php
[edit]
[-] abstract-indexable-presenter.php
[edit]
[-] meta-description-presenter.php
[edit]
[+]
debug
[-] schema-presenter.php
[edit]