{"id":6025046,"date":"2015-04-17T09:24:57","date_gmt":"2015-04-17T09:24:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-check\/"},"modified":"2016-08-24T14:52:08","modified_gmt":"2016-08-24T14:52:08","slug":"conditional-check","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-check\/","title":{"rendered":"Conditional check"},"content":{"rendered":"<p>Really great plugin, it helped me alot.<br \/>\nBut you should do more conditional checks to see if Ninja Forms is enabled.<\/p>\n<p>I had to disable the main Ninja Forms plugin, and that broke my site before fixing this plugin. You already have it on the first occourence of &#8220;<code>ninja_forms_register_field()<\/code> but not the rest.<\/p>\n<p>I had to add <code>if( function_exists( &#039;ninja_forms_register_field&#039; ) ) { ... }<\/code> on line 78, 113 and 148 to just get into my admin area again.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/ninja-forms-layout\/<\/p>\n","protected":false},"template":"","class_list":["post-6025046","topic","type-topic","status-closed","hentry","topic-tag-conditional"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6025046","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\/6025046\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6025046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}