Yoast\WP\SEO\Presenters\Open_Graph
Article_Author_Presenter::get()
Run the article author's Facebook URL through the wpseo_opengraph_author_facebook
Метод класса: 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 22.4
public function get() { /** * Filter: 'wpseo_opengraph_author_facebook' - Allow developers to filter the article author's Facebook URL. * * @param 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 ) ); }