WC_Template_Loader::unsupported_theme_remove_review_tab()public staticWC 1.0

Remove the Review tab and just use the regular comment form.

Method of the class: WC_Template_Loader{}

No Hooks.

Return

Array.

Usage

$result = WC_Template_Loader::unsupported_theme_remove_review_tab( $tabs );
$tabs(array) (required)
Tab info.

WC_Template_Loader::unsupported_theme_remove_review_tab() code WC 9.0.1

public static function unsupported_theme_remove_review_tab( $tabs ) {
	unset( $tabs['reviews'] );
	return $tabs;
}