app/libraries/Jentil/Setups/Views/Search.php
private function searchQuery(): string
    {
        $url = \parse_url($this->app->utilities->page->URL('full'));
        \parse_str(($url['query'] ?? ''), $query_params);

        return $query_params['s'] ?? '';
    }
private function searchQuery(): string
    {
        $url = \parse_url($this->app->utilities->page->URL('full'));
        \parse_str(($url['query'] ?? ''), $query_params);

        return $query_params['s'] ?? '';
    }
private function searchQuery ( ) : string { $ url = \ parse_url ( $ this -> app -> utilities -> page -> URL ( 'full' ) ) ; \ parse_str ( ( $ url [ 'query' ] ?? '' ) , $ query_params ) ; return $ query_params [ 's' ] ?? '' ; }
Returns the value of the 's' query parameter in the
current page's URL.

Unlike WordPress' `get_search_query()`, this looks for
the presence of 's' query parameter in the URL, and
ignores any URL rewrites of the search page URL.
Returns the value of the s query parameter in the current page s URL .