-
Introducing My WooCommerce Product Table Plugin π
Over the last few months, Iβve been working deeply with WooCommerce β especially in scenarios where product catalogs are large, complex, and performance-sensitive. One recurring problem stood out: π The default WooCommerce grid layout breaks down when users need speed, comparison, and bulk actions. So I built something to solve that properly. Today, Iβm open-sourcing…
-
Mastering the WordPress Abilities API: Fine-Grained Control for Modern WordPress Development
The WordPress Abilities API provides a standardized way to register and discover distinct units of functionality within a WordPress site. These units, called βAbilitiesβ, represent specific actions or capabilities that components can perform, with clearly defined inputs, outputs, and permissions. It acts as a central registry, making it easier for different parts of WordPress, third-party…
-
What is the difference between select(‘core’) vs apiFetch, and when to use which?
This is a very important architectural decision in Gutenberg β and honestly, many developers misuse both. Letβs break it down in a practical, real-world way so you can decide like a tech lead π π§ select(‘core’) vs apiFetch β Whatβs the Difference? Feature select(‘core’) apiFetch Data Source WP Data Store (core-data) Direct REST API Reactivity…
-
A Practical Guide to Fetching Custom Post Types and Taxonomies Using select(‘core’) in Gutenberg
β 1. Fetch Custom Post Type (product) Just replace ‘post’ with ‘product’: β 2. Fetch Taxonomy (product_cat) For taxonomies, entity type changes from ‘postType’ β ‘taxonomy’ π 3. Fetch BOTH (Best Practice β Single useSelect) π This is what you should do in production (avoids multiple subscriptions) π 4. Filter Products by Category (Very Useful)…