Automattic\WooCommerce\Admin\Notes
Note::set_image
Deprecated since 10.8.0 Inbox notes no longer render images; the field will be removed in a future release.. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Set note image.
Method of the class: Note{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Note = new Note(); $Note->set_image( $image );
- $image(string) (required)
- Note image.
Changelog
| Deprecated since 10.8.0 | Inbox notes no longer render images; the field will be removed in a future release. |
Note::set_image() Note::set image code WC 10.9.3
public function set_image( $image ) {
wc_deprecated_function( __METHOD__, '10.8.0' );
$this->set_prop( 'image', $image );
}