WC_Deprecated_Hooks::get_deprecated_version( string $old_hook )
Get deprecated version.
Description Description
Parameters Parameters
- $old_hook
-
(Required) Old hook name.
Return Return
(string)
Source Source
File: includes/abstracts/abstract-wc-deprecated-hooks.php
protected function get_deprecated_version( $old_hook ) { return ! empty( $this->deprecated_version[ $old_hook ] ) ? $this->deprecated_version[ $old_hook ] : Constants::get_constant( 'WC_VERSION' ); }