public static empty_param ( string | array $param, array $empty_values = [0, 'any'] ) : boolean | ||
$param | string | array | The parameter values supplied to Posts::get() |
$empty_values | array | An array defining what values are considered empty and ignorable |
return | boolean | True if the parameter values contain only empty values, false otherwise |