Automattic\WooCommerce\Admin\Notes
Note::get_is_snoozable()
Get note snoozability.
Method of the class: Note{}
No Hooks.
Return
true|false
. Whether or not the note can be snoozed.
Usage
$Note = new Note(); $Note->get_is_snoozable( $context );
- $context(string)
- What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'
Note::get_is_snoozable() Note::get is snoozable code WC 8.7.0
public function get_is_snoozable( $context = 'view' ) { return $this->get_prop( 'is_snoozable', $context ); }