[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/templates/default/ -> bbpress-functions.php (summary)

Functions of the Default template-pack

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

Defines 1 class

BBP_Default:: (9 methods):
  __construct()
  setup_actions()
  before_main_content()
  after_main_content()
  enqueue_styles()
  enqueue_scripts()
  localize_topic_script()
  ajax_favorite()
  ajax_subscription()


Class: BBP_Default  - X-Ref

Loads bbPress Default Theme functionality

This is not a real theme by WordPress standards, and is instead used as the
fallback for any WordPress theme that does not have bbPress templates in it.

To make your custom theme bbPress compatible and customize the templates, you
can copy these files into your theme without needing to merge anything
together; bbPress should safely handle the rest.

See @link BBP_Theme_Compat() for more.

__construct( $properties = array()   X-Ref
The main bbPress (Default) Loader

since: 2.1.0 bbPress (r3732)

setup_actions()   X-Ref
Setup the theme hooks

since: 2.1.0 bbPress (r3732)

before_main_content()   X-Ref
Inserts HTML at the top of the main content area to be compatible with
the Twenty Twelve theme.

since: 2.1.0 bbPress (r3732)

after_main_content()   X-Ref
Inserts HTML at the bottom of the main content area to be compatible with
the Twenty Twelve theme.

since: 2.1.0 bbPress (r3732)

enqueue_styles()   X-Ref
Load the theme CSS

since: 2.1.0 bbPress (r3732)

enqueue_scripts()   X-Ref
Enqueue the required JavaScript files

since: 2.1.0 bbPress (r3732)

localize_topic_script()   X-Ref
Load localizations for topic script

These localizations require information that may not be loaded even by init.

since: 2.1.0 bbPress (r3732)

ajax_favorite()   X-Ref
AJAX handler to add or remove a topic from a user's favorites

since: 2.1.0 bbPress (r3732)

ajax_subscription()   X-Ref
AJAX handler to Subscribe/Unsubscribe a user from a topic

since: 2.1.0 bbPress (r3732)



Generated: Tue Apr 23 01:01:01 2024 Cross-referenced by PHPXref 0.7.1