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 3128 to 3131

Definition

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

This article was last updated 14th July 2025 21:35 Europe/London time based on the source file dated 29th June 2025 21:20 Europe/London time.