Collections functions
General functions
Render functions
Theme permission 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 3257 to 3260

Definition

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

This article was last updated 30th January 2023 08:35 Europe/London time based on the source file dated 23rd January 2023 09:10 Europe/London time.