WordPress at Your Fingertips
function is not described

WP_List_Table::current_action() public WP 3.1.0

Gets the current action selected from the bulk actions dropdown.

{} It's a method of the class: WP_List_Table{}

No Hooks.

Return

String|false. The action name. False if no action was selected.

Usage

$WP_List_Table = new WP_List_Table();
$WP_List_Table->current_action();

Changelog

Since 3.1.0 Introduced.

Code of WP_List_Table::current_action() WP 5.8.1

public function current_action() {
	if ( isset( $_REQUEST['filter_action'] ) && ! empty( $_REQUEST['filter_action'] ) ) {
		return false;
	}

	if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) {
		return $_REQUEST['action'];
	}

	return false;
}