deprecated_argument_run action-hookWC 3.0.0

Wrapper for deprecated arguments so we can apply some extra logic.

Usage

add_action( 'deprecated_argument_run', 'wp_kama_deprecated_argument_run_action', 10, 3 );

/**
 * Function for `deprecated_argument_run` action-hook.
 * 
 * @param string $argument    
 * @param string $version     
 * @param string $replacement 
 *
 * @return void
 */
function wp_kama_deprecated_argument_run_action( $argument, $version, $replacement ){

	// action...
}
$argument(string)
-
$version(string)
-
$replacement(string)
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wc_deprecated_argument()
deprecated_argument_run
woocommerce/includes/wc-deprecated-functions.php 133
do_action( 'deprecated_argument_run', $argument, $message, $version );

Where the hook is used in WooCommerce

Usage not found.