1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50:
<?php
namespace VSP\Deprecation;
use WPOnion\Bridge\Deprecated_Hooks;
defined( 'ABSPATH' ) || exit;
class Actions extends Deprecated_Hooks {
protected $deprecated_hooks = array(
'vsp/loaded' => 'vsp_framework_loaded',
'vsp/log/clear' => 'vsp_log_clear',
'vsp/log/remove' => 'vsp_log_remove',
'vsp/init' => 'vsp_framework_init',
);
protected $deprecated_version = array(
'vsp_framework_loaded' => '0.9',
'vsp_log_clear' => '0.9',
'vsp_log_remove' => '0.9',
'vsp_framework_init' => '0.9',
);
protected function trigger_hook( $old_hook, $new_callback_args ) {
do_action_ref_array( $old_hook, $new_callback_args );
}
}