WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта
функция не описана


Meta_Description_Presenter::present() public Yoast 1.0

Returns the meta description for a post.

{} Это метод класса: Meta_Description_Presenter{}

Хуков нет.


Строку. The meta description tag.


$Meta_Description_Presenter = new Meta_Description_Presenter();

Код Meta_Description_Presenter::present() Yoast 16.8

public function present() {
	$output = parent::present();

	if ( ! empty( $output ) ) {
		return $output;

	if ( \current_user_can( 'wpseo_manage_options' ) ) {
		return '<!-- ' .
				/* Translators: %1$s resolves to the SEO menu item, %2$s resolves to the Search Appearance submenu item. */
				\esc_html__( 'Admin only notice: this page does not show a meta description because it does not have one, either write it for this page specifically or go into the [%1$s - %2$s] menu and set up a template.', 'wordpress-seo' ),
				\esc_html__( 'SEO', 'wordpress-seo' ),
				\esc_html__( 'Search Appearance', 'wordpress-seo' )
			) .
			' -->';

	return '';