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


Top ↑

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' ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
BuddyPress (1.2) Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.