Runs a deprecated action with notice only if used.
Parameters
$tagstringrequired- The name of the action hook.
$argsarrayrequired- Array of additional function arguments to be passed to do_action().
$versionstringrequired- The version of EverestForms that deprecated the hook.
$replacementstringoptional- The hook that should have been used.
Default:
null $messagestringoptional- A message regarding the change.
Default:
null
Hooks
- do_action_ref_array( “{$tag}” )
Deprecated Functions
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |