Advertisement

Advertisement

WP_Hook::add_filter

Hooks a function or method to a specific filter action.

WP_Hook::next

Moves forward to the next element.

WP_Hook::key

Returns the key of the current element.

Advertisement

WP_Hook::valid

Checks if current position is valid.

WP_Hook::has_filter

Checks if a specific action has been registered for this hook.

WP_Hook::rewind

Rewinds the Iterator to the first element.

Advertisement

WP_Hook::has_filters

Checks if any callbacks have been registered for this hook.

WP_Hook::apply_filters

Calls the callback functions that have been added to a filter hook.