WordPress at Your Fingertips
function is not described

WC_Admin_Meta_Boxes::rename_meta_boxes() public WC 1.0

Rename core meta boxes.

{} It's a method of the class: WC_Admin_Meta_Boxes{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_Meta_Boxes = new WC_Admin_Meta_Boxes();
$WC_Admin_Meta_Boxes->rename_meta_boxes();

Code of WC_Admin_Meta_Boxes::rename_meta_boxes() WC 5.8.0

public function rename_meta_boxes() {
	global $post;

	// Comments/Reviews.
	if ( isset( $post ) && ( 'publish' === $post->post_status || 'private' === $post->post_status ) && post_type_supports( 'product', 'comments' ) ) {
		remove_meta_box( 'commentsdiv', 'product', 'normal' );
		add_meta_box( 'commentsdiv', __( 'Reviews', 'woocommerce' ), 'post_comment_meta_box', 'product', 'normal' );
	}
}