ActionScheduler_Abstract_ListTable::get_request_search_query
Return the search filter for this request, if any.
Метод класса: ActionScheduler_Abstract_ListTable{}
Хуков нет.
Возвращает
string.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_request_search_query();
Код ActionScheduler_Abstract_ListTable::get_request_search_query() ActionScheduler Abstract ListTable::get request search query WC 11.2.1
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;
}