static function isCurrentAction( $action ) {

		if ( isset( $_REQUEST['action'] ) && -1 !== (int) $_REQUEST['action'] ) {
			$compare = $_REQUEST['action'];
		} elseif ( isset( $_REQUEST['action2'] ) && -1 !== (int) $_REQUEST['action2'] ) {
			$compare = $_REQUEST['action2'];
		} else {
			return false;
		}

		return ( $action === $compare );
	}
static function isCurrentAction( $action ) {

		if ( isset( $_REQUEST['action'] ) && -1 !== (int) $_REQUEST['action'] ) {
			$compare = $_REQUEST['action'];
		} elseif ( isset( $_REQUEST['action2'] ) && -1 !== (int) $_REQUEST['action2'] ) {
			$compare = $_REQUEST['action2'];
		} else {
			return false;
		}

		return ( $action === $compare );
	}
static function isCurrentAction ( $ action ) { if ( isset ( $ _REQUEST [ 'action' ] ) && - 1 !== ( int ) $ _REQUEST [ 'action' ] ) { $ compare = $ _REQUEST [ 'action' ] ; } elseif ( isset ( $ _REQUEST [ 'action2' ] ) && - 1 !== ( int ) $ _REQUEST [ 'action2' ] ) { $ compare = $ _REQUEST [ 'action2' ] ; } else { return false ; } return ( $ action === $ compare ) ; }
Two actions are possible in a generic WP_List_Table form. The first takes precedence.

@param $action

@see \WP_List_Table::current_action

@return bool
Two actions are possible in a generic WP_List_Table form . The first takes precedence .