Yoast\WP\SEO\Presenters\Open_Graph
Article_Author_Presenter::get() public Yoast 1.0
Run the article author's Facebook URL through the wpseo_opengraph_author_facebook filter.
{} Это метод класса: Article_Author_Presenter{}
Хуки из метода
Возвращает
Строку. The filtered article author's Facebook URL.
Использование
$Article_Author_Presenter = new Article_Author_Presenter(); $Article_Author_Presenter->get();
Код Article_Author_Presenter::get() Article Author Presenter::get Yoast 15.6.2
public function get() {
/**
* Filter: 'wpseo_opengraph_author_facebook' - Allow developers to filter the article author's Facebook URL.
*
* @api bool|string $article_author The article author's Facebook URL, return false to disable.
*
* @param Indexable_Presentation $presentation The presentation of an indexable.
*/
return \trim( \apply_filters( 'wpseo_opengraph_author_facebook', $this->presentation->open_graph_article_author, $this->presentation ) );
}