How To Get Your WordPress Plugin’s Admin Page URL
To get your plugin’s registered WordPress admin page URL with the page’s menu slug use the function menu_page_url(). However, this built-in WordPress […]
By using this website you agree to our Privacy Policy.
To get your plugin’s registered WordPress admin page URL with the page’s menu slug use the function menu_page_url(). However, this built-in WordPress […]
Debugging PHP can be a pain in WordPress. Add this handy code snippet to your theme’s functions.php file. The function will log PHP data to your browser’s console.
Not sure or need to know what version of PHP your WordPress website is using? Here is how to find your version quickly.
There are many ways to create a custom API endpoint in WordPress. I personally like to build them against the base URL. […]
The last week has been full of exciting news. 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.
You can remove the HTTP header X-Frame-Options: SAMEORIGIN from WordPress by removing the send_frame_options_header function from the admin_init and login_init hooks.
Adding Google Analytics to your website is a complicated business. No, you shouldn’t merely copy and paste the GA script provided by […]
WordPress drop-in plugins are a hidden feature of WordPress used to replace, add, or enhance a limited set of advanced core WordPress […]