Action Scheduler installed inside “wp-content” folder

Action Scheduler installed inside “wp-content” folder

When you install the action scheduler inside your plugin or theme via composer installer, for example: If you run composer install, Action Scheduler creates a wp-content folder inside the plugin folder. So, the path would be: wp-content/plugins/your-plugin/wp-content/plugins/action-scheduler. The path is

Log PHP data in JavaScript console

Log PHP data in JavaScript console

There are many built-in methods of logging and troubleshooting in PHP. In most cases, PHP data is logged in an error log file using the error_log() function. The error log is disabled by default in PHP. To enable you’ll need

Sanitize SQL OrderBy and Order in WordPress

Sanitize SQL OrderBy and Order in WordPress

When we usually order the columns, we usually get OrderBy and order from the user’s input like $_REQUEST[‘orderby’] and $_REQUEST[‘order’]. For example, the user wanted to order by ID in the ascending or descending order. and we pass $_REQUEST[‘orderby’] and

× WhatsApp