This commit is contained in:
Ron Rennick 2019-11-18 08:37:16 -04:00 committed by GitHub
parent 225548d7af
commit 634a4edc13
1 changed files with 3 additions and 0 deletions

View File

@ -384,9 +384,12 @@ class OnboardingTasks extends \WC_REST_Data_Controller {
/**
* Creates base store starter pages like my account and checkout.
* Note that WC_Install::create_pages already checks if pages exist before creating them again.
*
* @return bool
*/
public static function create_store_pages() {
\WC_Install::create_pages();
return true;
}
/**