Shortcode with dynamic user content
-
I’m using an event plugin and need to be able to add the organizer in the the shortcode.
To list event organizer name on the page I use:
<?php printf(get_organizer_name());?>How can I include this in the following shortcode:
[event_description assigned_organizer=””]
I NEED SOMETHING LIKE:
[event_description assigned_organizer=”<?php printf(get_organizer_name());?>”]
Any help will be massively appreciated!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shortcode with dynamic user content’ is closed to new replies.