PATH:
home
/
letacommog
/
lescompagnons
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
presentations
<?php /** * Presentation object for indexables. * * @package Yoast\YoastSEO\Presentations */ namespace Yoast\WP\SEO\Presentations; /** * Class Indexable_Error_Page_Presentation */ class Indexable_Error_Page_Presentation extends Indexable_Presentation { /** * @inheritDoc */ public function generate_robots() { $robots = $this->get_base_robots(); $robots['index'] = 'noindex'; return $this->filter_robots( $robots ); } /** * @inheritDoc */ public function generate_title() { if ( $this->model->title ) { return $this->model->title; } return $this->options->get_title_default( 'title-404-wpseo' ); } }
[+]
..
[-] indexable-static-home-page-presentation.php
[edit]
[-] indexable-static-posts-page-presentation.php
[edit]
[-] indexable-post-type-presentation.php
[edit]
[-] indexable-date-archive-presentation.php
[edit]
[-] indexable-home-page-presentation.php
[edit]
[-] indexable-search-result-page-presentation.php
[edit]
[-] indexable-author-archive-presentation.php
[edit]
[-] indexable-presentation.php
[edit]
[-] indexable-error-page-presentation.php
[edit]
[-] archive-adjacent-trait.php
[edit]
[-] abstract-presentation.php
[edit]
[-] indexable-term-archive-presentation.php
[edit]
[-] indexable-post-type-archive-presentation.php
[edit]