bp_dtheme_page_on_front()
Return the ID of a page set as the home page.
Description Description
Return Return
(int|bool) ID of page set as the home page
Source Source
File: bp-themes/bp-default/functions.php
function bp_dtheme_page_on_front() { if ( 'page' != get_option( 'show_on_front' ) ) return false; return apply_filters( 'bp_dtheme_page_on_front', get_option( 'page_on_front' ) ); }
Changelog Changelog
Version | Description |
---|---|
BuddyPress (1.2) | Introduced. |