Yoast\WP\SEO\Presenters

Rel_Next_Presenter::present()publicYoast 1.0

Returns the rel next meta tag.

Метод класса: Rel_Next_Presenter{}

Хуки из метода

Возвращает

Строку. The rel next tag.

Использование

$Rel_Next_Presenter = new Rel_Next_Presenter();
$Rel_Next_Presenter->present();

Код Rel_Next_Presenter::present() Yoast 19.11

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

	if ( ! empty( $output ) ) {
		/**
		 * Filter: 'wpseo_next_rel_link' - Allow changing link rel output by Yoast SEO.
		 *
		 * @api string $unsigned The full `<link` element.
		 */
		return \apply_filters( 'wpseo_next_rel_link', $output );
	}

	return '';
}