Automattic\WooCommerce\Admin\Notes

Note::get_image()publicWC 1.0

Get note image (if any).

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

Хуков нет.

Возвращает

Массив.

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

$Note = new Note();
$Note->get_image( $context );
$context(строка)
What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'

Код Note::get_image() WC 8.7.0

public function get_image( $context = 'view' ) {
	return $this->get_prop( 'image', $context );
}