doing_it_wrong_run, $function, $message, $version

doing_it_wrong_run, $function, $message, $version

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('doing_it_wrong_run, $function, $message, $version') is found 1 times:

  • /includes/wc-deprecated-functions.php line 122
    	// @codingStandardsIgnoreStart
    	$message .= ' Backtrace: ' . wp_debug_backtrace_summary();
    
    	if ( wp_doing_ajax() || WC()->is_rest_api_request() ) {
    		do_action( 'doing_it_wrong_run', $function, $message, $version );
    		error_log( "{$function} was called incorrectly. {$message}. This message was added in version {$version}." );
    	} else {
    		_doing_it_wrong( $function, $message, $version );
    	}
    	// @codingStandardsIgnoreEnd
    }