filter_id

(PHP 5 >= 5.2.0, PHP 7)

filter_idReturns the filter ID belonging to a named filter

Description

filter_id ( string $filtername ) : int

Parameters

filtername

Name of a filter to get.

Return Values

ID of a filter on success or FALSE if filter doesn't exist.

See Also