Thứ Hai, 13 tháng 4, 2015

Thay đổi title của tab review woocommerce

// Change the description tab title to product name
add_filter( 'woocommerce_product_tabs', 'wc_change_product_description_tab_title', 10, 1 );
function wc_change_product_description_tab_title( $tabs ) {
  global $post;

  $tabs['reviews']['title'] = "thay ne";
  return $tabs;
}

Không có nhận xét nào:

Đăng nhận xét