You appear to be a bot. Output may be restricted
Description
Is the front page a page we define?
Usage
$bool = WC_Query::page_on_front_is( $page_id );
Parameters
- $page_id
- ( int ) required – Page ID.
Returns
bool
Source
File name: woocommerce/includes/class-wc-query.php
Lines:
1 to 3 of 3
private function page_on_front_is( $page_id ) { return absint( get_option( 'page_on_front' ) ) === absint( $page_id ); }