um_login_form_button_one

Hook type

Filter

Description

Change Login Form Primary button

Parameters

$primary_btn_word

(string) Button text

$args

(array) Login Form arguments

Usage

<?php add_filter( 'um_login_form_button_one', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_login_form_button_one', 'my_login_form_button_one', 10, 2 );
function my_login_form_button_one( $primary_btn_word, $args ) {
    // your code here
return $primary_btn_word;
}
?>

Change Log

Since: 2.0

Source

um_login_form_button_one is located in includes/core/um-actions-login.php::line 319