Yoast\WP\SEO\Presentations
Indexable_Post_Type_Presentation::generate_open_graph_article_modified_time() public Yoast 1.0
Generates the open graph article modified time.
{} Это метод класса: Indexable_Post_Type_Presentation{}
Хуков нет.
Возвращает
Строку. The open graph article modified time.
Использование
$Indexable_Post_Type_Presentation = new Indexable_Post_Type_Presentation(); $Indexable_Post_Type_Presentation->generate_open_graph_article_modified_time();
Код Indexable_Post_Type_Presentation::generate_open_graph_article_modified_time() Indexable Post Type Presentation::generate open graph article modified time Yoast 15.6.2
public function generate_open_graph_article_modified_time() {
if ( $this->source->post_modified_gmt !== $this->source->post_date_gmt ) {
return $this->date->format( $this->source->post_modified_gmt );
}
return '';
}