Tagged: referrer as subject
Hi, you made a beautiful post about the message shortcode https://buddydev.com/buddypress-send-private-message-button-shortcode/
is it possible to enter a subject line? i would like to show the referrer page in the subject line. I have a shortcode that i could echo. the shortcode is made from this post https://stackoverflow.com/questions/4348912/get-title-of-website-via-link
the shortcode works nice but i cannot seems to get it to work in your code. in fact, i cannot get any subject line to work in your code.
I do not think that BuddyPress supports taking subject from the url parameters.
It is still possible to do but the code needed will be beyond that shortcode. Someone can most probably filter on ‘bp_get_messages_subject_value’ to make it work via url parameter too.
The topic ‘ [Resolved] referrer as subject in Message button Shortcode’ is closed to new replies.