Yoast\WP\SEO\Values
Images::has_images() public Yoast 1.0
Check whether we have images or not.
{} Это метод класса: Images{}
Хуков нет.
Возвращает
true/false. True if we have images, false if we don't.
Использование
$Images = new Images(); $Images->has_images();
Код Images::has_images() Images::has images Yoast 15.6.2
public function has_images() {
return ! empty( $this->images );
}