ActionScheduler_Abstract_ListTable::get_request_search_query()protectedWC 1.0

Return the search filter for this request, if any.

Method of the class: ActionScheduler_Abstract_ListTable{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_request_search_query();

ActionScheduler_Abstract_ListTable::get_request_search_query() code WC 9.3.3

protected function get_request_search_query() {
	$search_query = ( ! empty( $_GET['s'] ) ) ? sanitize_text_field( wp_unslash( $_GET['s'] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
	return $search_query;
}