woocommerce_login_form()
Output the WooCommerce Login Form.
No Hooks.
Return
null
. Nothing (null).
Usage
woocommerce_login_form( $args );
- $args(array)
- Arguments.
Default: array()
woocommerce_login_form() woocommerce login form code WC 8.7.0
function woocommerce_login_form( $args = array() ) { $defaults = array( 'message' => '', 'redirect' => '', 'hidden' => false, ); $args = wp_parse_args( $args, $defaults ); wc_get_template( 'global/form-login.php', $args ); }