File: bp-document/classes/class-bp-document-theme-compat.php
Description
BP_Document_Theme_Compat

The main theme compat class for BuddyBoss Document.

Source: bp-document/classes/class-bp-document-theme-compat.php:19

BP_Document_Theme_Compat::__construct()

Set up the document component theme compatibility.

Source: bp-document/classes/class-bp-document-theme-compat.php:26

BP_Document_Theme_Compat::is_document()

Set up the theme compatibility hooks, if we’re looking at an document page.

Source: bp-document/classes/class-bp-document-theme-compat.php:35

BP_Document_Theme_Compat::directory_template_hierarchy()

Add template hierarchy to theme compat for the document directory page.

Source: bp-document/classes/class-bp-document-theme-compat.php:67

bp_template_hierarchy_document_directory

Filters the template hierarchy for the document directory page.

Source: bp-document/classes/class-bp-document-theme-compat.php:76

BP_Document_Theme_Compat::directory_dummy_post()

Update the global $post with directory data.

Source: bp-document/classes/class-bp-document-theme-compat.php:95

BP_Document_Theme_Compat::directory_content()

Filter the_content with the groups index template part.

Source: bp-document/classes/class-bp-document-theme-compat.php:116

BP_Document_Theme_Compat::single_template_hierarchy()

Add custom template hierarchy to theme compat for document permalink pages.

Source: bp-document/classes/class-bp-document-theme-compat.php:131

bp_template_hierarchy_document_single_item

Filters the template hierarchy for the document permalink pages.

Source: bp-document/classes/class-bp-document-theme-compat.php:140

BP_Document_Theme_Compat::single_dummy_post()

Update the global $post with the displayed user’s data.

Source: bp-document/classes/class-bp-document-theme-compat.php:159