Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

133
Vistas
Move "review tab" to position output of product sharing on WooCommerce single product page

I want to change the position of the "review tab" to the position below the share button on the right

I removed the default "review tab" with this code and it worked

add_filter( 'woocommerce_product_tabs', 'maarra_remove_reviews_tab', 9999 );
 
function maarra_remove_reviews_tab( $tabs ) {
   unset( $tabs['reviews'] );
   return $tabs;
}

But I don't know how to re-add the "review tab" under the share button. Any advice?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

To change the position of the "review tab" to the position output of product sharing.

You can use:

// Remove
function filter_woocommerce_product_tabs( $tabs ) {
    unset( $tabs['reviews'] );
    
    return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'filter_woocommerce_product_tabs', 100, 1 );

add_action( 'woocommerce_share', 'comments_template' );

OR

// Remove
function filter_woocommerce_product_tabs( $tabs ) {
    unset( $tabs['reviews'] );
    
    return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'filter_woocommerce_product_tabs', 100, 1 );

add_action( 'woocommerce_single_product_summary', 'comments_template', 61 );
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda