woocommerce_log_remove
Usage
add_action( 'woocommerce_log_remove', 'wp_kama_woocommerce_log_remove_action', 10, 2 ); /** * Function for `woocommerce_log_remove` action-hook. * * @param $handle * @param $removed * * @return void */ function wp_kama_woocommerce_log_remove_action( $handle, $removed ){ // action... }
- $handle
- -
- $removed
- -
Where the hook is called
woocommerce_log_remove
woocommerce/includes/log-handlers/class-wc-log-handler-file.php 266
do_action( 'woocommerce_log_remove', $handle, $removed );