remove_query_string()

public function remove_query_string(string $string): string

The remove_query_string() method is supported by a dedicated helper function. For guidance on how to use it, click here.