WC_Install::maybe_create_pages
Create pages on installation.
Method of the class: WC_Install{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Install::maybe_create_pages();
WC_Install::maybe_create_pages() WC Install::maybe create pages code WC 10.4.3
public static function maybe_create_pages() {
if ( empty( get_option( 'woocommerce_db_version' ) ) ) {
self::create_pages();
}
}