[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/core/ -> template-loader.php (summary)

bbPress Template Loader

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

Defines 24 functions

  bbp_template_include_theme_supports()
  bbp_set_template_included()
  bbp_is_template_included()
  bbp_load_theme_functions()
  bbp_get_single_user_template()
  bbp_get_single_user_edit_template()
  bbp_get_favorites_template()
  bbp_get_subscriptions_template()
  bbp_get_single_view_template()
  bbp_get_search_template()
  bbp_get_single_forum_template()
  bbp_get_forum_archive_template()
  bbp_get_forum_edit_template()
  bbp_get_single_topic_template()
  bbp_get_topic_archive_template()
  bbp_get_topic_edit_template()
  bbp_get_topic_split_template()
  bbp_get_topic_merge_template()
  bbp_get_single_reply_template()
  bbp_get_reply_edit_template()
  bbp_get_reply_move_template()
  bbp_get_topic_tag_template()
  bbp_get_topic_tag_edit_template()
  bbp_get_theme_compat_templates()

Functions
Functions that are not part of a class:

bbp_template_include_theme_supports( $template = '' )   X-Ref
Possibly intercept the template being loaded

Listens to the 'template_include' filter and waits for any bbPress specific
template condition to be met. If one is met and the template file exists,
it will be used; otherwise

Note that the _edit() checks are ahead of their counterparts, to prevent them
from being stomped on accident.

since: 2.0.0 bbPress (r3032)
return: string The path to the template file that is being used
param: string $template

bbp_set_template_included( $template = false )   X-Ref
Set the included template

since: 2.4.0 bbPress (r4975)
return: mixed False if empty. Template name if template included
param: mixed $template Default false

bbp_is_template_included()   X-Ref
Is a bbPress template being included?

since: 2.4.0 bbPress (r4975)
return: bool True if yes, false if no

bbp_load_theme_functions()   X-Ref
Attempt to load a custom bbPress functions file, similar to each themes
functions.php file.

since: 2.1.0 bbPress (r3732)

bbp_get_single_user_template()   X-Ref
Get the user profile template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_single_user_edit_template()   X-Ref
Get the user profile edit template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_favorites_template()   X-Ref
Get the user favorites template

since: 2.2.0 bbPress (r4225)
return: string Path to template file

bbp_get_subscriptions_template()   X-Ref
Get the user subscriptions template

since: 2.2.0 bbPress (r4225)
return: string Path to template file

bbp_get_single_view_template()   X-Ref
Get the view template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_search_template()   X-Ref
Get the search template

since: 2.3.0 bbPress (r4579)
return: string Path to template file

bbp_get_single_forum_template()   X-Ref
Get the single forum template

since: 2.1.0 bbPress (r3922)
return: string Path to template file

bbp_get_forum_archive_template()   X-Ref
Get the forum archive template

since: 2.1.0 bbPress (r3922)
return: string Path to template file

bbp_get_forum_edit_template()   X-Ref
Get the forum edit template

since: 2.1.0 bbPress (r3566)
return: string Path to template file

bbp_get_single_topic_template()   X-Ref
Get the single topic template

since: 2.1.0 bbPress (r3922)
return: string Path to template file

bbp_get_topic_archive_template()   X-Ref
Get the topic archive template

since: 2.1.0 bbPress (r3922)
return: string Path to template file

bbp_get_topic_edit_template()   X-Ref
Get the topic edit template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_topic_split_template()   X-Ref
Get the topic split template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_topic_merge_template()   X-Ref
Get the topic merge template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_single_reply_template()   X-Ref
Get the single reply template

since: 2.1.0 bbPress (r3922)
return: string Path to template file

bbp_get_reply_edit_template()   X-Ref
Get the reply edit template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_reply_move_template()   X-Ref
Get the reply move template

since: 2.3.0 bbPress (r4521)
return: string Path to template file

bbp_get_topic_tag_template()   X-Ref
Get the topic template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_topic_tag_edit_template()   X-Ref
Get the topic edit template

since: 2.0.0 bbPress (r3311)
return: string Path to template file

bbp_get_theme_compat_templates()   X-Ref
Get the templates to use as the endpoint for bbPress template parts

since: 2.0.0 bbPress (r3311)
since: 2.6.0 bbPress (r5950) Added `singular.php` to template stack
return: string Path to template file



Generated: Sat Dec 21 01:00:52 2024 Cross-referenced by PHPXref 0.7.1