This function has been deprecated. BuddyPress 1.5.0 instead.

bp_dtheme_page_on_front_update( string $oldvalue,  $newvalue )

In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity feed setting.

Description

As of 1.5.x, it is no longer required.

Parameters

$oldvalue

(string) (Required) New value of get_option( 'page_on_front' )

Return

(false|string)

Source

File: bp-core/deprecated/buddypress/1.5.php

	function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
		_deprecated_function( __FUNCTION__, '1.5', "No longer required." );
		if ( !is_admin() || !bp_current_user_can( 'bp_moderate' ) )
			return false;

		return $oldvalue;
	}

Changelog

Changelog
Version Description
BuddyPress 1.5.0 BuddyPress 1.5.0
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.