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