{"id":6500431,"date":"2015-09-01T19:28:59","date_gmt":"2015-09-01T19:28:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/external-data\/"},"modified":"2016-08-30T17:30:35","modified_gmt":"2016-08-30T17:30:35","slug":"external-data","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/external-data\/","title":{"rendered":"External Data"},"content":{"rendered":"<p>Is there a way to pull external data inside the shortcode? For instance, if I have a javascript variable set:<\/p>\n<p> <code>var rWeight= ABC; var rAccel = DEF;<\/code><\/p>\n<p>Than set the shortcode to get the variable:<\/p>\n<p><code>[pmath size=24]F=rWeight*rAccel[\/pmath]<\/code><\/p>\n<p>Thanks,<br \/>\n~Andrew<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wpmathpub\/<\/p>\n","protected":false},"template":"","class_list":["post-6500431","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6500431","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\/6500431\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6500431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}