Additional parameters to shortcode
-
I would like to know if it’s possible somehow to “associate” the post ID of the post where the shortcode was generated, and save it as custom field in post meta.
Example: In a “single” page of a custom post type, I use the shortcode with pre-filled “to” id with the current post author. I would like to push the postID also, and have it saved to the “new” message (as hidden field) ?
Thank you!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Additional parameters to shortcode’ is closed to new replies.