Title: functions
Last modified: January 30, 2023

---

# functions

 *  Resolved [cousinr](https://wordpress.org/support/users/cousinr/)
 * (@cousinr)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/functions-26/)
 * Hi,
 * does it know how to check and fix custom code or create its own code in function.
   php?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/functions-26/#post-16420671)
 * Hi [@cousinr](https://wordpress.org/support/users/cousinr/),
 * AI can achieve great things, but it certainly not at a level to comprehend your
   entire WordPress install, the plugins, how everything work together, etc. It’s
   only capable of creating simple functions (or a bit more than that), without 
   being able to make sure it actually works, and without being able to test or 
   think about how it plays with the rest of the software architecture.
 * That said, you can ask the AI (or ChatGPT directly) to write you some code to
   add in the functions.php to do certain things, such as blocking an IP Address
   from accessing your website and so on. I believe it can handle simple use cases
   like this.

Viewing 1 replies (of 1 total)

The topic ‘functions’ is closed to new replies.

 * ![](https://ps.w.org/ai-engine/assets/icon-256x256.png?rev=3431928)
 * [AI Engine - The Chatbot, AI Framework & MCP for WordPress](https://wordpress.org/plugins/ai-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-engine/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/functions-26/#post-16420671)
 * Status: resolved