um_register_form_button_two_url

Hook type

Filter

Description

Change Registration Form Secondary button URL

Parameters

$secondary_btn_url

(string) Button URL

$args

(array) Registration Form arguments

Usage

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

Examples

<?php
add_filter( 'um_register_form_button_two_url', 'my_register_form_button_two_url', 10, 2 );
function my_register_form_button_two_url( $secondary_btn_url, $args ) {
    // your code here
return $secondary_btn_url;
}
?>

Change Log

Since: 2.0

Source

um_register_form_button_two_url is located in includes/core/um-actions-register.php::line 518