Collections functions
General functions
Render functions
Theme permission functions
User functions
Resource functions

is_not_wildcard_only()

Description

Helper function to check a string is not just the asterisk.

Parameters

ColumnTypeDefaultDescription
$str string The string to be checked.

Return

boolean

Location

include/search_functions.php lines 3301 to 3304

Definition

 
function is_not_wildcard_only(string $str)
    {
    return 
trim($str) !== '*';
    }

This article was last updated 2nd December 2023 09:05 Europe/London time based on the source file dated 13th November 2023 11:05 Europe/London time.