| [ Index ] | PHP Cross Reference of BuddyPress | 
[Source view] [Print] [Project Stats]
BuddyPress Activity Theme Compatibility.
| File Size: | 180 lines (5 kb) | 
| Included or required: | 0 times | 
| Referenced: | 0 times | 
| Includes or requires: | 0 files | 
BP_Activity_Theme_Compat:: (8 methods):
  __construct()
  is_activity()
  directory_template_hierarchy()
  directory_dummy_post()
  directory_content()
  single_template_hierarchy()
  single_dummy_post()
  single_dummy_content()
Class: BP_Activity_Theme_Compat - X-Ref
The main theme compat class for BuddyPress Activity.| __construct() X-Ref | 
| Set up the activity component theme compatibility. since: 1.7.0 | 
| is_activity() X-Ref | 
| Set up the theme compatibility hooks, if we're looking at an activity page. since: 1.7.0 | 
| directory_template_hierarchy( $templates ) X-Ref | 
| Add template hierarchy to theme compat for the activity directory page. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. return: array $templates Array of custom templates to look for. param: string $templates The templates from bp_get_theme_compat_templates(). since: 1.8.0 | 
| 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 | 
| single_template_hierarchy( $templates ) X-Ref | 
| Add custom template hierarchy to theme compat for activity permalink pages. This is to mirror how WordPress has {@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}. return: array $templates Array of custom templates to look for. param: string $templates The templates from bp_get_theme_compat_templates(). since: 1.8.0 | 
| 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' activity permalink template part. since: 1.7.0 | 
| Generated: Thu Oct 30 01:00:57 2025 | Cross-referenced by PHPXref 0.7.1 |