Yoast\WP\SEO\Actions\Indexables
Indexable_Head_Action::for_author()
Retrieves the head for an author.
Метод класса: Indexable_Head_Action{}
Хуков нет.
Возвращает
Объект
. Object with head and status properties.
Использование
$Indexable_Head_Action = new Indexable_Head_Action(); $Indexable_Head_Action->for_author( $id );
- $id(int) (обязательный)
- The id.
Код Indexable_Head_Action::for_author() Indexable Head Action::for author Yoast 22.4
public function for_author( $id ) { return $this->with_404_fallback( $this->with_cache( 'author', $id ) ); }