woocommerce_login_credentials filter-hookWC 1.0

Perform the login.

Usage

add_filter( 'woocommerce_login_credentials', 'wp_kama_woocommerce_login_credentials_filter' );

/**
 * Function for `woocommerce_login_credentials` filter-hook.
 * 
 * @param  $creds 
 *
 * @return 
 */
function wp_kama_woocommerce_login_credentials_filter( $creds ){

	// filter...
	return $creds;
}
$creds
-

Where the hook is called

WC_Form_Handler::process_login()
woocommerce_login_credentials
woocommerce/includes/class-wc-form-handler.php 965
$user = wp_signon( apply_filters( 'woocommerce_login_credentials', $creds ), is_ssl() );

Where the hook is used in WooCommerce

Usage not found.