There are many ways to build an API in WordPress. I personally like to build them against the base URL. If I was building one for this site it might be http://kevdees.com/kevdees-api/v1/. I like to prefix my APIs to help prevent conflicts. If I was using a framework like Laravel or Slim I might take […]
Create a very robust, clean, and fast local multi-version PHP (7.4, 8.0, 8.1) development environment on macOS Big Sur with Intel or Apple M1 chipsets.
When using Xdebug with the built-in PHP server be sure you have the proper configuration in your php.ini file. Will will need at a minimum the following settings: If you are using Xdebug 3 or later use integer xdebug.client_port = 9003 instead of xdebug.remote_port = 9000. Then in PHPStorm set the Xdebug port to 9003 under Preferences […]
The last week has been full of exciting news. Here are a few links that caught my attention.
The last few weeks have been full of interesting bits in the PHP and Apple space. Here are a few links that caught my attention.
To override the wp_mail() function using the filter pre_wp_mail is the best and modern way to do so. Using this method will future-proof your override.