{"id":1445567,"date":"2010-03-30T19:00:00","date_gmt":"2010-03-30T19:00:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-programmatically-activate-a-widget\/"},"modified":"2016-08-19T16:28:52","modified_gmt":"2016-08-19T16:28:52","slug":"how-to-programmatically-activate-a-widget","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-programmatically-activate-a-widget\/","title":{"rendered":"How to Programmatically activate a widget?"},"content":{"rendered":"<p>How can I programmatically make my plugin-widget be added (made visible) upon Activation rather than waiting fro the user to drag\/drop the Widget under Appearance-Widgets?<\/p>\n<p>Thanks much!!<br \/>\n&#8212;<\/p>\n","protected":false},"template":"","class_list":["post-1445567","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1445567","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\/1445567\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1445567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}