Run Tasks Before Activate Your Plugin – wptip #13

Sometimes we need to test specific tasks before activating our custom plugin, like identify if another plugin is already active. If you face this situation you can count with the activation hook called register_activation_hook.

In the example below, we’re testing if the plugin PODS.io is active, otherwise, the process will stop the activation of our custom plugin and display an error message to the user.

Read More

Custom Bulk Actions – wptip #10

Since version 4.7 it’s possible to create custom bulk actions in WordPress lists (posts, and custom posts type), with the example below you be able to add a new item to the dropdown and also trigger a custom bulk action.

Read More

Add/Remove CRON Interval – wptip #9

Adding a custom CRON interval is something you gonna face at some point of your WordPress developer career or perhaps remove an existing one. If this happen you can grab the piece of code below 🙂

Read More

Hide WordPress Updates – wptip #8

In some cases, you do need to stop the WordPress updates, let’s suppose it’s because you need to handle with the compatibility of a specific version and you can’t install any further update.

Read More