bp_disable_profile_sync( bool $default = false )

Is profile syncing disabled?

Parameters Parameters


(bool) (Optional) Fallback value if not found in the database. Default: true.

Default value: false

Top ↑

Return Return

(bool) True if profile sync is enabled, otherwise false.

Source Source

File: bp-core/bp-core-options.php

function bp_disable_profile_sync( $default = false ) {

	 * Filters whether or not profile syncing is disabled.
	 * @since 1.6.0
	 * @param bool $value Whether or not syncing is disabled.
	return (bool) apply_filters( 'bp_disable_profile_sync', (bool) bp_get_option( 'bp-disable-profile-sync', $default ) );

Top ↑

Changelog Changelog

Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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