Docs

evf_do_deprecated_action( string $tag, array $args, string $version, string $replacement = null, string $message = null )

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

VersionDescription
1.0.0Introduced.