Yoast\WP\SEO\Values

Images::has_images │ public │ Yoast 1.0

Check whether we have images or not.

Метод класса: Images{}

Хуков нет.

Возвращает

bool. True if we have images, false if we don't.

Использование

$Images = new Images();
$Images->has_images();

Код Images::has_images() Yoast 28.6

public function has_images() {
	return ! empty( $this->images );
}