All Articles
WordPress
wp_parse_args recursive of multidimensional arrays
wp_parse_args is a wonderful function for combining two arrays, objects, or strings in WordPress. But it lacks the possibility to…
DevOps
Disable WordPress XML-RPC in NGINX
Locate your nginx configuration file and add the following rule in there. Save it and reload the nginx service. Now…
PHP Snippets
Sending Axios parameters with a POST request in PHP
Using a library like Axios to create complex AJAX requests is simple and easy. Of course, we can use `fetch`…
DevOps
EasyEngine increase the max upload file size in 10 seconds
If you’re using EasyEngine for your WordPress website then probably you found that the max upload size of a file…
WordPress
Programmatically insert taxonomy terms in WordPress
I’ve got this dilemma today. I had to insert all states of America in DB as a taxonomy term. Instead…
WordPress
Gutenberg full and wide width inside of a fixed container
Gutenberg, the new editor from WordPress 5+ comes with some handy block options which allow defining full and wide width.…
Deployment
Deploy code on VPS with Gihub Actions via rsync
In one of my previous articles, I’ve demonstrated how to deploy code on a VPS server using CircleCI. In this…
Development
Upgrade all npm packages to the latest major version at once
While this may look like a dangerous idea, it is actually something that many of us wanted to do just…
Development
Enable bash terminal in PHPStorm on Windows 10
If you are using Linux or Mac OS, then using the PHPStorm(or any other IntelliJ IDE from Jetbrains) terminal is…
Deployment
How to publish WordPress plugins with GitHub Actions CI in WP.org repository
GitHub Actions opened a new opportunity for developers to create automation. Nothing special, you would say, but actually, it is.…
Recent comments