WordPress at Your Fingertips
filter is not described

woocommerce_new_webhook_data filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_new_webhook_data', 'filter_function_name_2115', 10, 3 );
function filter_function_name_2115( $array, $data, $that ){
	// filter...

	return $array;
}
$array
-
$data
-
$that
-

Where the hook is called

WC_API_Webhooks::create_webhook()
woocommerce_new_webhook_data
woocommerce/includes/legacy/api/v2/class-wc-api-webhooks.php 193-200
$webhook_data = apply_filters( 'woocommerce_new_webhook_data', array(
	'post_type'     => 'shop_webhook',
	'post_status'   => 'publish',
	'ping_status'   => 'closed',
	'post_author'   => get_current_user_id(),
	'post_password' => 'webhook_' . wp_generate_password(),
	'post_title'    => ! empty( $data['name'] ) ? $data['name'] : sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ),
), $data, $this );
woocommerce/includes/legacy/api/v3/class-wc-api-webhooks.php 193-200
$webhook_data = apply_filters( 'woocommerce_new_webhook_data', array(
	'post_type'     => 'shop_webhook',
	'post_status'   => 'publish',
	'ping_status'   => 'closed',
	'post_author'   => get_current_user_id(),
	'post_password' => 'webhook_' . wp_generate_password(),
	'post_title'    => ! empty( $data['name'] ) ? $data['name'] : sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ),
), $data, $this );

Where in WP core the hook is used WooCommerce

Usage not found.