Automattic\WooCommerce\Internal\Admin\Orders
Edit::set_current_action()
Set the current action for the form.
Метод класса: Edit{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Edit = new Edit(); $Edit->set_current_action( $action );
- $action(строка) (обязательный)
- Action name.
Код Edit::set_current_action() Edit::set current action WC 8.1.1
public function set_current_action( string $action ) { $this->current_action = $action; }