WordPress at a glance
function is not described

wc_update_210_remove_pages() WC 1.0

Remove pages for 2.1

No Hooks.

Return

null.

Usage

wc_update_210_remove_pages();

Code of wc_update_210_remove_pages() WC 5.0.0

<?php
function wc_update_210_remove_pages() {
	// Pages no longer used.
	wp_trash_post( get_option( 'woocommerce_pay_page_id' ) );
	wp_trash_post( get_option( 'woocommerce_thanks_page_id' ) );
	wp_trash_post( get_option( 'woocommerce_view_order_page_id' ) );
	wp_trash_post( get_option( 'woocommerce_change_password_page_id' ) );
	wp_trash_post( get_option( 'woocommerce_edit_address_page_id' ) );
	wp_trash_post( get_option( 'woocommerce_lost_password_page_id' ) );
}