| [ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Groups Theme Compat.
| File Size: | 267 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BP_Groups_Theme_Compat:: (11 methods):
__construct()
is_group()
directory_template_hierarchy()
directory_dummy_post()
directory_content()
create_template_hierarchy()
create_dummy_post()
create_content()
single_template_hierarchy()
single_dummy_post()
single_content()
Class: BP_Groups_Theme_Compat - X-Ref
The main theme compat class for BuddyPress Groups.| __construct() X-Ref |
| Set up theme compatibility for the Groups component. since: 1.7.0 |
| is_group() X-Ref |
| Are we looking at something that needs group theme compatibility? since: 1.7.0 |
| directory_template_hierarchy( $templates ) X-Ref |
| Add template hierarchy to theme compat for the group directory page. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. since: 1.8.0 param: string $templates The templates from bp_get_theme_compat_templates(). return: array $templates Array of custom templates to look for. |
| directory_dummy_post() X-Ref |
| Update the global $post with directory data. since: 1.7.0 |
| directory_content() X-Ref |
| Filter the_content with the groups index template part. since: 1.7.0 |
| create_template_hierarchy( $templates ) X-Ref |
| Add custom template hierarchy to theme compat for the group create page. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. since: 1.8.0 param: string $templates The templates from bp_get_theme_compat_templates(). return: array $templates Array of custom templates to look for. |
| create_dummy_post() X-Ref |
| Update the global $post with create screen data. since: 1.7.0 |
| create_content() X-Ref |
| Filter the_content with the create screen template part. since: 1.7.0 |
| single_template_hierarchy( $templates ) X-Ref |
| Add custom template hierarchy to theme compat for group pages. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. since: 1.8.0 param: string $templates The templates from bp_get_theme_compat_templates(). return: array $templates Array of custom templates to look for. |
| single_dummy_post() X-Ref |
| Update the global $post with single group data. since: 1.7.0 |
| single_content() X-Ref |
| Filter the_content with the single group template part. since: 1.7.0 |
| Generated: Mon Nov 3 01:00:54 2025 | Cross-referenced by PHPXref 0.7.1 |