{"id":8516173,"date":"2016-12-05T17:00:32","date_gmt":"2016-12-05T17:00:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shortcode-formating\/"},"modified":"2016-12-05T17:00:32","modified_gmt":"2016-12-05T17:00:32","slug":"shortcode-formating","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shortcode-formating\/","title":{"rendered":"Shortcode Formating"},"content":{"rendered":"<p>Hi Richard<\/p>\n<p>Hope you are well.<\/p>\n<p>Wonder if you can assist me\u2026<\/p>\n<p>I want to format the shortcode text that the plugin gives as an output.<\/p>\n<p>E.g:<\/p>\n<p>[userinfo field=&#8221;last_name&#8221;]{{empty}}[\/userinfo] would give \u201clastname\u201d, but I would like it to be \u201cLastname\u201d or \u201cLASTNAME\u201d or any other formate\u2026<\/p>\n<p>I have tried \u201ctxtfmt=ucwords\u201d and \u201ctxtfmt=strtoupper\u201d but witn no luck: [userinfo field=&#8221;first_name&#8221; txtfmt=&#8221;strtoupper&#8221;]{{empty}}[\/userinfo] nor [userinfo field=&#8221;first_name&#8221; txtfmt=strtoupper]{{empty}}[\/userinfo]<\/p>\n<p>Any ideas?<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-8516173","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8516173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8516173\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8516173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}