ActionScheduler_HybridStore::delete_action
Delete an existing action whether migrated or not.
Метод класса: ActionScheduler_HybridStore{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ActionScheduler_HybridStore = new ActionScheduler_HybridStore(); $ActionScheduler_HybridStore->delete_action( $action_id );
- $action_id(int) (обязательный)
- Action ID.
Код ActionScheduler_HybridStore::delete_action() ActionScheduler HybridStore::delete action WC 11.0.1
public function delete_action( $action_id ) {
$store = $this->get_store_from_action_id( $action_id );
if ( $store ) {
$store->delete_action( $action_id );
}
}