WordPress at Your Fingertips
function is not described

WC_Template_Loader::unsupported_theme_remove_review_tab() public WC 1.0

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

{} It's a 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.

Code of WC_Template_Loader::unsupported_theme_remove_review_tab() WC 5.7.1

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