um_register_form_button_two

Hook type

Filter

Description

Change Registration Form Secondary button

Parameters

$secondary_btn_word

(string) Button text

$args

(array) Registration Form arguments

Usage

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

Examples

<?php
add_filter( 'um_register_form_button_two', 'my_register_form_button_two', 10, 2 );
function my_register_form_button_two( $secondary_btn_word, $args ) {
    // your code here
return $secondary_btn_word;
}
?>

Change Log

Since: 2.0

Source

um_register_form_button_two is located in includes/core/um-actions-register.php::line 493