[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/classes/ -> class-bp-registration-theme-compat.php (summary)

BuddyPress Member Screens. Handlers for member screens that aren't handled elsewhere.

File Size: 148 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Registration_Theme_Compat:: (5 methods):
  __construct()
  is_registration()
  template_hierarchy()
  dummy_post()
  dummy_content()


Class: BP_Registration_Theme_Compat  - X-Ref

The main theme compat class for BuddyPress Registration.

This class sets up the necessary theme compatibility actions to safely output
registration template parts to the_title and the_content areas of a theme.

__construct()   X-Ref
Setup the groups component theme compatibility.

since: 1.7.0

is_registration()   X-Ref
Are we looking at either the registration or activation pages?

since: 1.7.0

template_hierarchy( $templates )   X-Ref
Add template hierarchy to theme compat for registration/activation pages.

This is to mirror how WordPress has
{@link https://codex.wordpress.org/Template_Hierarchy template hierarchy}.

param: string $templates The templates from bp_get_theme_compat_templates().
since: 1.8.0
return: array $templates Array of custom templates to look for.

dummy_post()   X-Ref
Update the global $post with dummy data.

since: 1.7.0

dummy_content()   X-Ref
Filter the_content with either the register or activate templates.

since: 1.7.0



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1