deprecated_argument_run хук-событие . WC 3.0.0
Wrapper for deprecated arguments so we can apply some extra logic.
Использование
add_action( 'deprecated_argument_run', 'action_function_name_3260', 10, 3 ); function action_function_name_3260( $argument, $version, $replacement ){ // action... }
- $argument(строка)
- -
- $version(строка)
- -
- $replacement(строка)
- -
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
deprecated_argument_run
woocommerce/includes/wc-deprecated-functions.php 133
do_action( 'deprecated_argument_run', $argument, $message, $version );