Class Actions
Handles deprecation notices and triggering of legacy action hooks.
- WPOnion\Bridge\Deprecated_Hooks
- VSP\Deprecation\Actions
protected
mixed
|
protected
array
|
$deprecated_hooks
Array of deprecated hooks we need to handle. Format of 'new' => 'old'. |
#
array(
'vsp/loaded' => 'vsp_framework_loaded',
'vsp/log/clear' => 'vsp_log_clear',
'vsp/log/remove' => 'vsp_log_remove',
'vsp/init' => 'vsp_framework_init',
)
|
protected
array
|
$deprecated_version
Array of versions on each hook has been deprecated. |
#
array(
'vsp_framework_loaded' => '0.9',
'vsp_log_clear' => '0.9',
'vsp_log_remove' => '0.9',
'vsp_framework_init' => '0.9',
)
|