Last active
January 14, 2024 21:52
-
-
Save mustardBees/46bd4fc0d90e7c2c4f199955ce457312 to your computer and use it in GitHub Desktop.
Add text with a link after the LearnDash login modal heading.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add text with a link after the LearnDash login modal heading. | |
*/ | |
function kanuka_add_text_after_login_modal_heading() { | |
?> | |
<div class="my-custom-text"> | |
<p>This is some additional text. <a href="https://example.com">Click here</a> for more information.</p> | |
</div> | |
<?php | |
} | |
add_action( 'learndash-login-modal-heading-after', 'kanuka_add_text_after_login_modal_heading' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment