Automattic\WooCommerce\Admin\Notes
Note::get_image
Get note image (if any).
Method of the class: Note{}
No Hooks.
Returns
Array
.
Usage
$Note = new Note(); $Note->get_image( $context );
- $context(string)
- What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'
Note::get_image() Note::get image code WC 9.9.3
public function get_image( $context = 'view' ) { return $this->get_prop( 'image', $context ); }