[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Member Theme Compat.
File Size: | 214 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_Members_Theme_Compat:: (8 methods):
__construct()
is_members()
directory_template_hierarchy()
directory_dummy_post()
directory_content()
single_template_hierarchy()
single_dummy_post()
single_dummy_content()
Class: BP_Members_Theme_Compat - X-Ref
The main theme compat class for BuddyPress Members.__construct() X-Ref |
Set up the members component theme compatibility. since: 1.7.0 |
is_members() X-Ref |
Are we looking at something that needs members theme compatibility? since: 1.7.0 |
directory_template_hierarchy( $templates = array() X-Ref |
Add template hierarchy to theme compat for the members directory page. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. param: array $templates The templates from bp_get_theme_compat_templates(). since: 1.8.0 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 members index template part. since: 1.7.0 |
single_template_hierarchy( $templates ) X-Ref |
Add custom template hierarchy to theme compat for member pages. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. param: string $templates The templates from since: 1.8.0 return: array $templates Array of custom templates to look for. |
single_dummy_post() X-Ref |
Update the global $post with the displayed user's data. since: 1.7.0 |
single_dummy_content() X-Ref |
Filter the_content with the members' single home template part. since: 1.7.0 |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |