Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

do_action_deprecated()

3 tags 1 category

do_action_deprecated() — Fires functions attached to a deprecated action hook. When an action hook is deprecated, the do_action() call is replaced with do_action_deprecated(), which triggers a deprecation notice and then fires the original hook.

Inputs: $hook_name (string): The name of the action hook. $args (list<mixed>): Array of additional function arguments to be passed to do_action(). $version (string): The version of WordPress that deprecated the hook. $replacement (string): Optional. The hook that should have been used. Default empty. $message (string): Optional. A message regarding the change. Default empty.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…