WC_Install::maybe_create_pages()
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() WC Install::maybe create pages code WC 9.4.2
public static function maybe_create_pages() { if ( empty( get_option( 'woocommerce_db_version' ) ) ) { self::create_pages(); } }