WordPress at Your Fingertips
function is not described

WC_Install::maybe_create_pages() public WC 1.0

Create pages on installation.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Install::maybe_create_pages();

Code of WC_Install::maybe_create_pages() WC 5.6.0

public static function maybe_create_pages() {
	if ( empty( get_option( 'woocommerce_db_version' ) ) ) {
		self::create_pages();
	}
}