WordPress Tricks

Add additional tab in woocommerce single product page and show Advanced Custom field info as tab info

Here I am sharing you the code which will help to show an additional / extra tab in woocommerce single product page, and show Advanced Custom fields info in the description of that tab . Just change the field info and put it in your theme’s function.php and save it.

if(! function_exists('new_tab')){


function new_tab($tabs){
"title"=> "Product Review",
 "priority"=> 35,
"callback" =>"tab_desc",
return $tabs;
function tab_desc(){
	global $product;
$id = $product->get_id();
echo  get_field('review',$id); ;


Feel free to do comments if you have any question.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s