bp_core_get_directory_pages

  • apply_filters( 'bp_core_get_directory_pages', $pages )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 166
      					$pages->{$component_id}->slug = implode( '/', array_reverse( (array)$slug ) );
      				}
      
      				unset( $slug );
      			}
      		}
      	}
      
      	return apply_filters( 'bp_core_get_directory_pages', $pages );
      }
      
      /**
       * Creates a default component slug from a WP page root_slug
       *
       * Since 1.5, BP components get their root_slug (the slug used immediately
       * following the root domain) from the slug of a corresponding WP page.
       *
       * E.g. if your BP installation at example.com has its members page at
       * example.com/community/people, $bp->members->root_slug will be 'community/people'.
      

Comments are closed.