woocommerce_registration_error_email_exists хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_registration_error_email_exists', 'wp_kama_woocommerce_registration_error_email_exists_filter', 10, 2 );

/**
 * Function for `woocommerce_registration_error_email_exists` filter-hook.
 * 
 * @param  $__    
 * @param  $email 
 *
 * @return 
 */
function wp_kama_woocommerce_registration_error_email_exists_filter( $__, $email ){

	// filter...
	return $__;
}
$__
-
$email
-

Где вызывается хук

wc_create_new_customer()
woocommerce_registration_error_email_exists
woocommerce/includes/wc-user-functions.php 47
return new WP_Error( 'registration-error-email-exists', apply_filters( 'woocommerce_registration_error_email_exists', __( 'An account is already registered with your email address. <a href="#" class="showlogin">Please log in.</a>', 'woocommerce' ), $email ) );

Где используется хук в WooCommerce

Использование не найдено.