Featured Blogs
Real life, problem solving, exclusive blogs that would be helpful for the web developers.
Deploying WordPress Plugins from GitHub to SVN Using GitHub Actions
This blog post will guide you through setting up an automated workflow to deploy your WordPress plugin to the official WordPress plugin SVN repository directly from GitHub. Using GitHub Actions, you can streamline the release process every time a new tag is pushed to...
The Four Pillars of Object Oriented Programming
OOP is a programming paradigm that computer programmers must encounter in their life. This article assumes you are already familiar with Class & Objects. To enhance your OOP understanding four pillars are worth discussing. So, let's jump into the details:...
Dynamically Sanitize Multi-Dimensional Array Values by Using WordPress Functions
Data sanitization is crucial in WordPress. Even this is an essential security measurement. Every data from the user's input must be sanitized as early as possible. WordPress provides many helper functions for data sanitization you can find here. Very easy & handy...
Suppress PHPCS Warnings Using Comments
PHPCS (code sniffer) is a great tool for linting & checking your codes against the set of rules. Along with PHPCS, as WordPress folk, we use WordPress coding standards (WPCS) as well. It is very useful to maintain coding standards, ensure output escaping, nonce...
Abstract Factory Design Pattern with Example in PHP
Abstract factory method is useful for creating products of related family. Create objects of product from sub-classes. A family could have multiple member and each member could have variation among them but they behave similarly. For example: Let's consider a...
Factory Method Design Pattern with Example in PHP
Factory Method is one of the creational design pattern. In simple words, we can say: factory method is a creational design pattern that is mainly focused on object creation in an abstract way from sub-classes. It means we will let the sub-class to create object of...
MySQL group_concat explanation with real example
MySQL group_concat is an aggregate function that join multiple strings into one single string. Some time we may need to show retrieve data as a unit. For example we can take WordPress post and categories. A post can have multiple categories. So if we want to retrieve...
How to share session between domain & sub-domain in Laravel
Sometime you have need to share session between domain & sub domain the way I was need it. I had searched a little and finally fixed my problem. That’s why I am going to share the solution with you all. Few steps that you have to do: 1) make sure to keep same app...
Receive Incoming Webhook Data
Today I gonna share how can we receive data from webhook in PHP. It’s just a cinch but sometime feels really tricky. Webhook: Webhook is very useful way of getting update from external system. It notify when something happened on webhook server side....