The filter_id() function returns the ID number of a specified filter.
Returns the filter ID number on success, or NULL if the filter does not exist.
Parameter | Description |
---|---|
filter_name | Required. Specifies the filter to get the id from. Must be a filter name (not a filter ID name), use the filter_list() function for name of all supported filters |
The output of the code should be: