WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Assets

AssetDataRegistry::get_store_pages() protected WC 1.0

Get store pages to include in settings.

{} It's a method of the class: AssetDataRegistry{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_store_pages();

Code of AssetDataRegistry::get_store_pages() WC 5.6.0

protected function get_store_pages() {
	return array_map(
		[ $this, 'format_page_resource' ],
		[
			'myaccount' => wc_get_page_id( 'myaccount' ),
			'shop'      => wc_get_page_id( 'shop' ),
			'cart'      => wc_get_page_id( 'cart' ),
			'checkout'  => wc_get_page_id( 'checkout' ),
			'privacy'   => wc_privacy_policy_page_id(),
			'terms'     => wc_terms_and_conditions_page_id(),
		]
	);
}