woocommerce_store_pages

woocommerce_store_pages

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.3

apply_filters('woocommerce_store_pages') is found 1 times:

  • /src/Admin/WCAdminHelper.php line 149
    		 *
    		 * @since 8.8.0
    		 * @param array $store_pages The store pages array. The keys are the page slugs and the values are the page IDs.
    		 */
    		$store_pages = apply_filters( 'woocommerce_store_pages', $store_pages );
    
    		foreach ( $store_pages as $page_slug => $page_id ) {
    			if ( $page_id > 0 && is_page( $page_id ) ) {
    				return true;
    			}
    		}