How do I change where a plugin pulls updates from?

Check below a link to a custom update checker for WordPress plugins. Useful if you don’t want to host your project in the official WP repository, but would still like it to support automatic updates. It also works with themes. Plugin Update Checker: https://github.com/YahnisElsts/plugin-update-checker

Automatic WordPress Clone Backup

You should maybe consider if you are approaching the exercise the “wrong way around” 🙂 Kudos to you for thinking about backups, but I urge you to consider that if you had the site under version control, you could track every change that was made, have it automatically deployed to a staging server, and manually … Read more

Updating WordPress across multiple versions

I think it depends on the plugins which way will be better. I had a similar situation with this many plugins, but i had to update WordPress just from 4.7 to 4.7.3. My update order was: WordPress Theme Plugins Translations If you are not sure, i think the best way is to copy your WordPress … Read more

Licensing options for WordPress Plugins

This is a legal and business question and not a technical one, but since you found an angle that is slightly relevant to plugin development, here comes an answer. Copyright law is complex and while in many places it is basically the same, there are still differences between different countries and therefor there is no … Read more

Upload files to the plugin menu

I think I’ve been down that road. Take a look at wp_handle_upload, which will upload your file to the /uploads directory and then wp_insert_attachment and wp_generate_attachment_metadata to list said upload in the media library as an attachment which will ‘register it in the wordpress database’. Then you can query attachments like this: $attachments = get_posts( … Read more

Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]

The data is stored in the wp_posts and wp_postmeta tables. You can see all the field values by doing this: SELECT website from (SELECT m1.meta_value as user_firstname, m2.meta_value as user_lastname, m3.meta_value as website FROM dev_posts join dev_postmeta m1 on m1.post_id = ID and m1.meta_key = ‘_field_1’ join dev_postmeta m2 on m2.post_id = ID and m2.meta_key … Read more

Huge number of 404 pages getting spawned

No, do not delete the pages. That will not solve your problem. What you need to do is fix your permalink settings. This usually happens if your .htaccess file got deleted or something went wrong with the rewrite rules. Chances are the 404 plugin is was the culprit here. You should flush your permalinks. Go … Read more

Index.php using 100% CPU [closed]

Unless otherwise specified (usually happens on admin side, and image access), all requests to wordpress pass and are processed by the index.php file, therefor it is not very interesting to look at which file is being “run”, you should look more at the request log and how much time it takes to complete each request. … Read more