All Articles

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…

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…

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`…
easyengine custom.ini max upload limit increase

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…

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…

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.…

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…

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…

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…

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.…