ActionScheduler_Abstract_ListTable::process_actions()publicWC 1.0

Process any pending actions.

Метод класса: ActionScheduler_Abstract_ListTable{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ActionScheduler_Abstract_ListTable = new ActionScheduler_Abstract_ListTable();
$ActionScheduler_Abstract_ListTable->process_actions();

Код ActionScheduler_Abstract_ListTable::process_actions() WC 8.7.0

public function process_actions() {
	$this->process_bulk_action();
	$this->process_row_actions();

	if ( ! empty( $_REQUEST['_wp_http_referer'] ) && ! empty( $_SERVER['REQUEST_URI'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
		// _wp_http_referer is used only on bulk actions, we remove it to keep the $_GET shorter
		wp_safe_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
		exit;
	}
}