Add ID Column to Payment Methods Table

Payment method ID column

Conditional Logic in WordPress Meta Boxes

Conditional meta box in WordPress

Add Fields to Taxonomy Terms

Simple text field on add new term screen in WordPress admin area

Let’s find out now how to add custom settings fields to any taxonomy.

Creating Custom Options Pages

WordPress custom options page

In this tutorial we are going to create an options page using WordPress Settings API.

Escaping Outputs. Ultimate Tutorial

It is about how to protect your code from XSS attacks properly without over-escaping.

How to Turn off / Disable Unneeded WooCommerce Gutenberg blocks

Once you activated WooCommerce on your website, you may notice that near 20 new blocks have appeared in editor. But do you really need all of them?

3 Ways to Add Notification Counter Bubbles to WordPress Admin Menu

When I created a plugin support area on my website I wanted a notification bubble to appear near the “Tickets” menu in my WordPress admin when there are any unreplied tickets, that’s how I dived deep into this topic and now I am going to share my experience with you.

How to Display a Column with Users’ Last Login Date / Time

Recently I was needed this functionality for my own website and I decided to share the process how I implemented it with you.

How to Extend the List of Allowed Domains for wp_safe_redirect()

By default function wp_safe_redirect() allows to redirect only to the same domain which is presented as a home_url(). But in some cases you may want to extend it with let’s say subdomains and in this tutorial I will provide a ready snippet for that.

Add Product to Cart Programmatically

In this tutorial I will show you some simple PHP code examples which allow to add a product or a product variation to the cart in WooCommerce.

Remove Posts in WordPress Dashboard with AJAX

If you ever tried to remove WordPress comments in admin dashboard, you know that comments are moved to trash asynchronously. In this tutorial I will show how to do the same for custom post types.

How to Properly Include CSS and JS in your WordPress Themes and Plugins

This in-depth tutorial contains all my experience and best practices which may be helpful when you add some CSS or JavaScript code to your WordPress website.

RFC 5322 Support for is_email() function. Quick fix.

Today I received a email from my client where he mentioned that he is unable to login to the members area on my website with his email which contains “+” symbol.

How to Fix “Updating Failed” in Gutenberg

I already have a couple tips on my blog about “fixing Gutenberg”, for example I already mentioned that you have to double check that REST API is not disabled and in this guide I show what to do if Inserter Dialog is not available. But recently I faced with another issue.