return a value from create pages API call (https://github.com/woocommerce/woocommerce-admin/pull/3261)
This commit is contained in:
parent
225548d7af
commit
634a4edc13
|
@ -384,9 +384,12 @@ class OnboardingTasks extends \WC_REST_Data_Controller {
|
||||||
/**
|
/**
|
||||||
* Creates base store starter pages like my account and checkout.
|
* 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.
|
* Note that WC_Install::create_pages already checks if pages exist before creating them again.
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function create_store_pages() {
|
public static function create_store_pages() {
|
||||||
\WC_Install::create_pages();
|
\WC_Install::create_pages();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue