[ 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: 10.0.0
File Size: 748 lines (21 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Nouveau:: (18 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()
  filter_registration_messages()
  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.

return: BP_Nouveau
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
param: array $classes Array of classes to append to body tag.
since: 3.0.0

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
param: array $templates Array of templates.
since: 3.0.0

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

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

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.
param: string $path The BP Uri.
since: 3.0.0

filter_registration_messages( $messages )   X-Ref
Modify "registration disabled" message in Nouveau template pack.
Modify welcome message in Nouveau template pack.

return: array $messages
param: array $messages The list of feedback messages.
since: 8.0.0

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: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1