WC_Install::maybe_create_pages()public staticWC 1.0

Create pages on installation.

Method of the class: WC_Install{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Install::maybe_create_pages();

WC_Install::maybe_create_pages() code WC 8.7.0

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