bp_core_get_root_domain

  • apply_filters( 'bp_core_get_root_domain', $domain )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 469
       * @package BuddyPress Core
       * @uses get_blog_option() WordPress function to fetch blog meta.
       * @return $domain The domain URL for the blog.
       */
      function bp_core_get_root_domain() {
      	global $wpdb;
      
      	$domain = get_home_url( bp_get_root_blog_id() );
      
      	return apply_filters( 'bp_core_get_root_domain', $domain );
      }
      
      /**
       * Get the current GMT time to save into the DB
       *
       * @package BuddyPress Core
       * @since 1.2.6
       */
      function bp_core_current_time( $gmt = true ) {
      	// Get current time in MYSQL format
      

Comments are closed.