Yoast\WP\SEO\Presenters\Open_Graph
Article_Publisher_Presenter::get() public Yoast 1.0
Run the article publisher's Facebook URL through the wpseo_og_article_publisher filter.
{} Это метод класса: 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 15.6.2
public function get() {
/**
* Filter: 'wpseo_og_article_publisher' - Allow developers to filter the article publisher's Facebook URL.
*
* @api 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 ) );
}