Skip to content

Instantly share code, notes, and snippets.

@mustardBees
Last active January 14, 2024 21:52
Show Gist options
  • Save mustardBees/46bd4fc0d90e7c2c4f199955ce457312 to your computer and use it in GitHub Desktop.
Save mustardBees/46bd4fc0d90e7c2c4f199955ce457312 to your computer and use it in GitHub Desktop.
Add text with a link after the LearnDash login modal heading.
<?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