Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

De asemenea, puteți rearanja filele cu acest fragment

// Add Shortcode
function custom_shortcode() {

	
	//Re-order WooCommerce Tabs - this code reorders tabs - the higher the priority(lowest number) goes first
	
	add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
	
	function woo_reorder_tabs( $tabs ) {
	
		$tabs['reviews']['priority'] = 5;			// Reviews first
		$tabs['description']['priority'] = 10;			// Description second
		$tabs['additional_information']['priority'] = 15;	// Additional information third
	
		return $tabs;
	}

}
add_shortcode( '', 'custom_shortcode' );