new link in admin dashboard opening a predefined email
-
I’m trying to do in my new website what I already have in my old website
In my admin dashboard I need to add a quick link the open an email with a predefined object, content, and in corrispondence of a word in the content, it prints the code of the apartment (post) + name of the apartment (post meta)
Adding a link is simple, I already have this code https://pastebin.com/wiQcL4wU
but clicking on it I have to open an email
the predefined content come from 3 custom meta fields like:
get_the_author_meta( 'periodo_affitti_en', $user->ID )
1 field is for the email address to which sending the mail, a second field is for the object of the email and the 3rd field for the content
Inside the content in my old website there is in a certain point this conventional code %CODPROD%? that means that in that place the code and the name of the apartment (post) are recalled and printed
how can I afford this?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.