Shortcode Formating
-
Hi Richard
Hope you are well.
Wonder if you can assist me…
I want to format the shortcode text that the plugin gives as an output.
E.g:
[userinfo field=”last_name”]{{empty}}[/userinfo] would give “lastname”, but I would like it to be “Lastname” or “LASTNAME” or any other formate…
I have tried “txtfmt=ucwords” and “txtfmt=strtoupper” but witn no luck: [userinfo field=”first_name” txtfmt=”strtoupper”]{{empty}}[/userinfo] nor [userinfo field=”first_name” txtfmt=strtoupper]{{empty}}[/userinfo]
Any ideas?
Thanks
The topic ‘Shortcode Formating’ is closed to new replies.