apply_filters( 'learndash_login_model_register_url', string $register_url )
Filters the LearnDash login modal registration URL.
Description #
Parameters #
- $register_url
-
(string) Login modal registration url.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_login_model_register_url filter.
*/
add_filter(
'learndash_login_model_register_url',
function( $registration_url ) {
// May add any custom logic using $registration_url.
// Always return $registration_url.
return $registration_url;
}
);
Changelog #
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |