{"id":12033546,"date":"2019-10-16T03:12:26","date_gmt":"2019-10-16T03:12:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/calling-shortcodes-using-php\/"},"modified":"2019-10-16T03:12:26","modified_gmt":"2019-10-16T03:12:26","slug":"calling-shortcodes-using-php","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/calling-shortcodes-using-php\/","title":{"rendered":"Calling shortcodes using PHP"},"content":{"rendered":"<p>I&#8217;m looking to use [bpps_profile_private_message_link]. I can use <code>&lt;?php echo do_shortcode( &#039;[bpps_profile_private_message_link]&#039; ); ?&gt;<\/code> but this doesn&#8217;t allow me to ad the ID <code>user_id=\u201d\u201d<\/code>  e.g. <code>$myuser_id<\/code>.  Is it possible to call it as a function?<\/p>\n<p>Thanks so much for this great plugin.<\/p>\n","protected":false},"template":"","class_list":["post-12033546","topic","type-topic","status-publish","hentry","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12033546","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\/12033546\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12033546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}