Yoast\WP\SEO\Presentations
Indexable_Post_Type_Presentation::generate_meta_description() public Yoast 1.0
Generates the meta description.
{} Это метод класса: Indexable_Post_Type_Presentation{}
Хуков нет.
Возвращает
Строку. The meta description.
Использование
$Indexable_Post_Type_Presentation = new Indexable_Post_Type_Presentation(); $Indexable_Post_Type_Presentation->generate_meta_description();
Код Indexable_Post_Type_Presentation::generate_meta_description() Indexable Post Type Presentation::generate meta description Yoast 15.6.2
public function generate_meta_description() {
if ( $this->model->description ) {
return $this->model->description;
}
return $this->options->get( 'metadesc-' . $this->model->object_sub_type );
}