Yoast\WP\SEO\Presenters
Abstract_Indexable_Tag_Presenter::present() public Yoast 1.0
Returns a tag in the head.
{} Это метод класса: Abstract_Indexable_Tag_Presenter{}
Хуков нет.
Возвращает
Строку. The tag.
Использование
$Abstract_Indexable_Tag_Presenter = new Abstract_Indexable_Tag_Presenter(); $Abstract_Indexable_Tag_Presenter->present();
Код Abstract_Indexable_Tag_Presenter::present() Abstract Indexable Tag Presenter::present Yoast 15.6.2
public function present() {
$value = $this->get();
if ( \is_string( $value ) && $value !== '' ) {
return \sprintf( $this->tag_format, $this->escape( $value ) );
}
return '';
}