Yoast\WP\SEO\Presenters\Open_Graph
Url_Presenter::get() public Yoast 1.0
Run the url content through the wpseo_opengraph_url filter.
{} Это метод класса: Url_Presenter{}
Хуки из метода
Возвращает
Строку. The filtered url.
Использование
$Url_Presenter = new Url_Presenter(); $Url_Presenter->get();
Код Url_Presenter::get() Url Presenter::get Yoast 15.6.2
public function get() {
/**
* Filter: 'wpseo_opengraph_url' - Allow changing the Yoast SEO generated open graph URL.
*
* @api string $url The open graph URL.
*
* @param Indexable_Presentation $presentation The presentation of an indexable.
*/
return \urldecode( (string) \apply_filters( 'wpseo_opengraph_url', $this->presentation->open_graph_url, $this->presentation ) );
}