Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/wordpress-seo/src/editors/framework/seo/terms/description-data-provider.php
Arrière
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong // phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded namespace Yoast\WP\SEO\Editors\Framework\Seo\Terms; use Yoast\WP\SEO\Editors\Domain\Seo\Description; use Yoast\WP\SEO\Editors\Domain\Seo\Seo_Plugin_Data_Interface; use Yoast\WP\SEO\Editors\Framework\Seo\Description_Data_Provider_Interface; /** * Describes if the description SEO data. */ class Description_Data_Provider extends Abstract_Term_Seo_Data_Provider implements Description_Data_Provider_Interface { /** * Retrieves the description template. * * @return string The description template. */ public function get_description_template(): string { return $this->get_template( 'metadesc' ); } /** * Determines the date to be displayed in the snippet preview. * * @return string */ public function get_description_date(): string { return ''; } /** * Method to return the Description domain object with SEO data. * * @return Seo_Plugin_Data_Interface The specific seo data. */ public function get_data(): Seo_Plugin_Data_Interface { return new Description( $this->get_description_date(), $this->get_description_template() ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages