Hooks (actions, filters) (category)

add_action()

Hooks a function on to a specific action.

add_filter()

Attaches the specified PHP function to the specified filter hook. Thus, when the filter is triggered, the value will be filtered by the specified PHP function.

apply_filters()

Applies the attached PHP function to the specified filter.

apply_filters_ref_array()

Executes the functions attached to the specified hook (filter). Parameters are passed in an array. Allows passing a parameter by reference.

current_filter()

Gets the name of the current filter.

did_action()

Retrieve the number of times an action (hook) is fired.

do_action()

Creates an event (a hook for a php function). For the function to work during the action, it should be added to this action with add_action().

do_action_ref_array()

Creates an action (hook) on which PHP functions can then be attached. The arguments are passed as an array.

doing_action()

Checks whether the specified hook (filter, action) is currently being processed.

doing_filter()

Checks whether the specified hook (filter, action) is currently being processed.

has_action()

Checks if a function has been registered for the event hook.

has_filter()

Checks if any function is attached to the specified filter. You can specify the name of a specific function.

remove_action()

Removes a hook (event or filter). Removes the function attached to the specified hook.

remove_all_actions()

Removes all hooks for the specified event.

remove_all_filters()

Removes all hooks from the specified filter.

remove_filter()

Removes a function from a specified filter hook.