Automattic\WooCommerce\Admin\Notes
Note::get_actions()
Get actions on the note (if any).
Метод класса: Note{}
Хуков нет.
Возвращает
Массив
.
Использование
$Note = new Note(); $Note->get_actions( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Код Note::get_actions() Note::get actions WC 8.7.0
public function get_actions( $context = 'view' ) { return $this->get_prop( 'actions', $context ); }