WordPress at Your Fingertips

Actions (hooks) (tag)

add_action()

Hooks a function on to a specific action.

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()

Execute functions hooked on a specific action hook, specifying arguments in an array.

doing_action()

Retrieve the name of an action currently being processed.

has_action()

Check if any action has been registered for a hook.

remove_action()

Removes a function from a specified action hook.