Overview

Namespaces

  • None
  • VSP
    • Core
      • Abstracts
      • Interfaces
      • Traits
        • WC_Compatibility
    • Deprecation
    • Helper
    • Modules
      • Addons
      • Logger

Classes

  • Actions
  • Filters
  • Overview
  • Namespace
  • Class

Class Actions

Handles deprecation notices and triggering of legacy action hooks.

WPOnion\Bridge\Deprecated_Hooks
Extended by VSP\Deprecation\Actions
Namespace: VSP\Deprecation
Located at includes/deprecation/class-actions.php
Methods summary
protected mixed
# trigger_hook( string $old_hook, array $new_callback_args )

Fire off a legacy hook with it's args.

Fire off a legacy hook with it's args.

Parameters

$old_hook
Old hook name.
$new_callback_args
New callback args.

Returns

mixed
Properties summary
protected array $deprecated_hooks

Array of deprecated hooks we need to handle. Format of 'new' => 'old'.

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 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', )
API documentation generated by ApiGen