apply_filters( 'learndash_login_model_register_text', string $registration_text )
Filters the LearnDash login modal registration text.
Description #
Parameters #
- $registration_text
-
(string) Login Modal registration text.
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_text filter.
*/
add_filter(
'learndash_login_model_register_text',
function( $registration_text ) {
// May add any custom logic using $registration_text.
// Always return $registration_text.
return $registration_text;
}
);
Changelog #
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |