2020-05-01 / 5178阅 / 悠然
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.
Top ↑
(string)
(Required)
The name of the action hook.
(array)
(Required)
Array of additional function arguments to be passed to do_action().
(string)
(Required)
The version of WordPress that deprecated the hook.
(string)
(Optional)
The hook that should have been used.
Default value: null
(string)
(Optional)
A message regarding the change.
Default value: null