ChatGPT has reached 1,000,000 users today. Twitter is abuzz with creative questions and applications for the AI-powered chatbot. OpenAI’s ChatGPT can use the dialogue format to answer follow-up questions, admit mistakes, challenge incorrect premises, and reject inappropriate requests.
Some are busy forecasting the end of search engines and sounding the death toll to human-generated content. Others are fascinated by AI systems’ potential to change the creation process. Johnathon Williams, a WordPress developer, brought this to the forefront when he asked ChatGPT to help create a WordPress plugin.
Usually, plugin creation requires some technical knowledge. Williams showed that ChatGPT could dramatically reduce the time required to extend WordPress.
Williams installed the plugin, and it worked the first time. He didn’t save the prompt, but he did publish a gist of the generated code on GitHub.
He used the following prompt to create a new plugin on his second attempt:
Create a custom WordPress plugin called “Big Daddy Media” that removes images older than one year from the media. OOP, Custom admin screen, one button delete, Log the full URL of all deleted media files.
He posted a screen capture of ChatGPT working to create the plugin:
Williams stated that even though he’s had mixed success with his prompts, he prefers to ask ChatGPT for complete functions rather than specific filters or actions.
ChatGPT can be used by anyone with a basic understanding of plugin best practices and typical architecture to enhance WordPress’s creative capabilities.
Williams stated, “very soon, ChatGPT will produce new WordPress plugins faster than searching for existing ones.” This will only hold for some plugin types. However, this is not the case for plugins that perform established tricks.