[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/ -> buddypress-functions.php (summary)

Functions of BuddyPress's "Nouveau" template pack.

Version: 3.1.0
File Size: 666 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Nouveau:: (17 methods):
  get_instance()
  __construct()
  setup_globals()
  includes()
  setup_support()
  setup_actions()
  enqueue_styles()
  register_scripts()
  enqueue_scripts()
  add_nojs_body_class()
  localize_scripts()
  theme_compat_page_templates()
  theme_compat_wrapper()
  setup_directory_nav()
  neutralize_core_template_notices()
  customizer_set_uri()
  bp_nouveau()


Class: BP_Nouveau  - X-Ref

Loads BuddyPress Nouveau Template pack functionality.

See @link BP_Theme_Compat() for more.

get_instance()   X-Ref
Return the instance of this class.

since: 3.0.0

__construct()   X-Ref
The BP Nouveau constructor.

since: 3.0.0

setup_globals()   X-Ref
BP Nouveau global variables.

since: 3.0.0

includes()   X-Ref
Includes!

since: 3.0.0

setup_support()   X-Ref
Setup the Template Pack features support.

since: 3.0.0

setup_actions()   X-Ref
Setup the Template Pack common actions.

since: 3.0.0

enqueue_styles()   X-Ref
Enqueue the template pack css files

since: 3.0.0

register_scripts()   X-Ref
Register Template Pack JavaScript files

since: 3.0.0

enqueue_scripts()   X-Ref
Enqueue the required JavaScript files

since: 3.0.0

add_nojs_body_class( $classes )   X-Ref
Adds the no-js class to the body tag.

This function ensures that the <body> element will have the 'no-js' class by default. If you're
using JavaScript for some visual functionality in your theme, and you want to provide noscript
support, apply those styles to body.no-js.

The no-js class is removed by the JavaScript created in buddypress.js.

return: array $classes
since: 3.0.0
param: array $classes Array of classes to append to body tag.

localize_scripts()   X-Ref
Load localizations for topic script.

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

since: 3.0.0

theme_compat_page_templates( $templates = array()   X-Ref
Filter the default theme compatibility root template hierarchy, and prepend
a page template to the front if it's set.

return: array
since: 3.0.0
param: array $templates Array of templates.

theme_compat_wrapper( $retval )   X-Ref
Add our special 'buddypress' div wrapper to the theme compat template part.

return: string
since: 3.0.0
param: string $retval Current template part contents.

setup_directory_nav()   X-Ref
Define the directory nav items

since: 3.0.0

neutralize_core_template_notices()   X-Ref
We'll handle template notices from BP Nouveau.

since: 3.0.0

customizer_set_uri( $path )   X-Ref
Set the BP Uri for the customizer in case of Ajax requests.

return: string       the BP Uri.
since: 3.0.0
param: string $path the BP Uri.

bp_nouveau()   X-Ref
Get a unique instance of BP Nouveau

return: BP_Nouveau the main instance of the class
since: 3.0.0



Generated: Wed May 22 01:01:45 2019 Cross-referenced by PHPXref 0.7.1