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