Displaying all ACF field labels and values from a specified field-group on WooCommerce product page
I see what you’re trying to achieve. You can use ACF’s acf_get_field_group function with the title as a parameter to retrieve the field group and its ID. Try this code: /*============================================================== Create More Details tab ================================================================*/ if (class_exists(‘acf’) && class_exists(‘WooCommerce’)) { add_filter(‘woocommerce_product_tabs’, function($tabs1) { global $post, $product; $tabs1[‘rpl-‘ . sanitize_title(‘More Details’)] = [ ‘title’ => … Read more