bp_get_root_domain

  • apply_filters( 'bp_get_root_domain', $domain )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 610
      		global $bp;
      
      		if ( isset( $bp->root_domain ) && !empty( $bp->root_domain ) ) {
      			$domain = $bp->root_domain;
      		} else {
      			$domain          = bp_core_get_root_domain();
      			$bp->root_domain = $domain;
      		}
      
      		return apply_filters( 'bp_get_root_domain', $domain );
      	}
      
      /**
       * Echoes the output of bp_get_root_slug()
       *
       * @package BuddyPress Core
       * @since 1.5
       */
      function bp_root_slug( $component = '' ) {
      	echo bp_get_root_slug( $component );
      

Comments are closed.