um_before_{$mode}_fields

Hook type

Action

Description

Some actions before register form fields

Parameters

$args

(array) Register 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_before_{$mode}_fields is located in templates/register.php::line 69