ActionScheduler_Abstract_ListTable::get_request_search_query()protectedWC 1.0

Return the search filter for this request, if any.

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

Хуков нет.

Возвращает

Строку.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_request_search_query();

Код ActionScheduler_Abstract_ListTable::get_request_search_query() WC 8.7.0

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;
}