\TriTan\Common\HooksHasFilterHook

Summary

Methods
Properties
Constants
has()
$filters
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$filters

$filters : array

Type

array

Methods

has()

has(string  $hook, callback  $function_to_check = false) : integer|boolean

Check if any filter has been registered for a hook.

Parameters

string $hook

The name of the filter hook.

callback $function_to_check

Optional. If specified, return the priority of that function on this hook or false if not attached.

Returns

integer|boolean —

Optionally returns the priority on that hook for the specified function.