Created
May 17, 2022 12:48
WP pass single post title to email subject
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
echo '<a href="mailto:nekimejl@domen.com?subject='.get_the_title( get_the_ID() ).'">Pošalji email</a>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment