Title: JS if function exists needed
Last modified: August 30, 2016

---

# JS if function exists needed

 *  [harrysoup](https://wordpress.org/support/users/harrysoup/)
 * (@harrysoup)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/js-if-function-exists-needed/)
 * Hi,
 * Would it be possible to update the JS for this plugin to first check if the function
   exists? as it is firing on one of my pages where it doesn’t which is breaking
   my entire site? the only way I have found of fixing seems to be commenting all
   your JS out (faq accordions still work)
 * Thanks,
 * Harry
 * [https://wordpress.org/plugins/wp-awesome-faq/](https://wordpress.org/plugins/wp-awesome-faq/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Liton Arefin](https://wordpress.org/support/users/litonice13/)
 * (@litonice13)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/js-if-function-exists-needed/#post-6651480)
 * Hello harrysoup,
    I don’t understand what do you want to say. I’ve checked all
   functions and for JS it will not be conflicted to any Themes. If you can show
   me your site then I can say something. Thanks

Viewing 1 replies (of 1 total)

The topic ‘JS if function exists needed’ is closed to new replies.

 * ![](https://ps.w.org/wp-awesome-faq/assets/icon-256x256.png?rev=2323698)
 * [Master Accordion ( Former WP Awesome FAQ Plugin )](https://wordpress.org/plugins/wp-awesome-faq/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-awesome-faq/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-awesome-faq/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-awesome-faq/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-awesome-faq/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-awesome-faq/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Liton Arefin](https://wordpress.org/support/users/litonice13/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/js-if-function-exists-needed/#post-6651480)
 * Status: not resolved