ActionScheduler_Abstract_ListTable::process_actions()publicWC 1.0

Process any pending actions.

Method of the class: ActionScheduler_Abstract_ListTable{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ActionScheduler_Abstract_ListTable::process_actions() code 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;
	}
}