bp_is_username_compatibility_mode

  • apply_filters( 'bp_is_username_compatibility_mode', defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) && BP_ENABLE_USERNAME_COMPATIBILITY_MODE )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 1258
       * Are we running username compatibility mode?
       *
       * @package BuddyPress
       * @since 1.5
       *
       * @uses apply_filters() Filter 'bp_is_username_compatibility_mode' to alter
       * @return bool False when compatibility mode is disabled (default); true when enabled
       */
      function bp_is_username_compatibility_mode() {
      	return apply_filters( 'bp_is_username_compatibility_mode', defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) && BP_ENABLE_USERNAME_COMPATIBILITY_MODE );
      }
      
      /**
       * Are we running multiblog mode?
       *
       * Note that BP_ENABLE_MULTIBLOG is different from (but dependent on) WP Multisite. "Multiblog" is
       * a BP setup that allows BP content to be viewed in the theme, and with the URL, of every blog
       * on the network. Thus, instead of having all 'boonebgorges' links go to
       *   http://example.com/members/boonebgorges
       * on the root blog, each blog will have its own version of the same profile content, eg
      

Comments are closed.