
Add per-product custom tabs to WooCommerce with WYSIWYG content, ordering, and enable controls.
Each product can define its own tab labels, tab content, order, and enabled state. The admin UI uses a repeater so you only add the tabs you want for that product. The plugin stores tab data in product post meta and renders only the tabs that contain content for that specific product.
This is intentionally not a global tab plugin and does not assign tabs by category.
Add Tab for each tab you want to create.Tabs only appear on the frontend when they are enabled and have content.
To add a product-specific FAQ tab:
1. Edit the product.
2. Click Add Tab.
3. Change the label to FAQ or Common Questions if desired.
4. Add your FAQ content.
5. Set the order number to 90 or another value you prefer.
Developers can extend the repeater behavior with filters such as:
pat_product_tabs_loaded_rowspat_product_tabs_sanitized_rowspat_product_tabs_frontend_tabsExample:
`php
add_filter(‘pat_product_tabs_frontend_tabs’, function ($tabs, $product_id) {
$tabs[‘pat_product_tab_custom_note’] = [
‘title’ => ‘Custom Note’,
‘priority’ => 5,
‘callback’ => function () {
echo ‘
Injected from a custom filter.
‘;
},
‘content’ => ‘
Injected from a custom filter.
‘,
];
return $tabs;
}, 10, 2);
`
The stored product meta key is _pat_product_tabs.