um_main_{$mode}_fields

Hook type

Action

Description

Some actions before login form fields

Parameters

$args

(array) Login form shortcode arguments

Usage

add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
function my_before_form( $args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_main_{$mode}_fields is located in templates/login.php::line 69