[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Groups functions

Version: 5.0.0
File Size: 1229 lines (37 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 36 functions

  bp_nouveau_message_markup_wrapper()
  bp_nouveau_groups_register_scripts()
  bp_nouveau_groups_enqueue_scripts()
  bp_nouveau_groups_disallow_all_members_invites()
  bp_nouveau_groups_localize_scripts()
  bp_nouveau_groups_get_inviter_ids()
  bp_nouveau_prepare_group_potential_invites_for_js()
  bp_nouveau_get_group_potential_invites()
  bp_nouveau_group_invites_create_steps()
  bp_nouveau_group_setup_nav()
  bp_nouveau_groups_invites_custom_message()
  bp_nouveau_prepare_group_for_js()
  bp_nouveau_groups_invites_restriction_nav()
  bp_nouveau_groups_invites_restriction_admin_nav()
  bp_nouveau_groups_screen_invites_restriction()
  bp_nouveau_get_groups_directory_nav_items()
  bp_nouveau_get_groups_filters()
  bp_nouveau_groups_catch_button_args()
  bp_nouveau_get_hooked_group_meta()
  bp_nouveau_groups_do_group_boxes()
  bp_nouveau_groups_front_page_description()
  bp_nouveau_groups_customizer_sections()
  bp_nouveau_groups_customizer_settings()
  bp_nouveau_groups_customizer_controls()
  bp_nouveau_group_reset_front_template()
  bp_nouveau_group_locate_template_part()
  bp_nouveau_group_get_template_part()
  bp_nouveau_group_is_home_widgets()
  bp_nouveau_group_activity_widget_overrides()
  bp_nouveau_group_groups_widget_overrides()
  bp_nouveau_group_members_widget_overrides()
  bp_nouveau_groups_add_home_widget_filters()
  bp_nouveau_groups_remove_home_widget_filters()
  bp_nouveau_group_get_core_create_screens()
  bp_nouveau_group_get_core_manage_screens()
  bp_nouveau_groups_notification_filters()

Functions
Functions that are not part of a class:

bp_nouveau_message_markup_wrapper( $message, $type )   X-Ref
Provide a convenience function to add markup wrapper for message strings

since: 3.0
param: string $message The message text string
param: string $type    The message type - 'error, 'info', 'warning', success'
return: string

bp_nouveau_groups_register_scripts( $scripts = array()   X-Ref
Register Scripts for the Groups component

since: 3.0.0
param: array $scripts Optional. The array of scripts to register.
return: array The same array with the specific groups scripts.

bp_nouveau_groups_enqueue_scripts()   X-Ref
Enqueue the groups scripts

since: 3.0.0

bp_nouveau_groups_disallow_all_members_invites( $default = false )   X-Ref
Can all members be invited to join any group?

since: 3.0.0
param: bool $default False to allow. True to disallow.
return: bool

bp_nouveau_groups_localize_scripts( $params = array()   X-Ref
Localize the strings needed for the Group's Invite UI

since: 3.0.0
param: array $params Associative array containing the JS Strings needed by scripts
return: array The same array with specific strings for the Group's Invite UI if needed.

bp_nouveau_groups_get_inviter_ids( $user_id, $group_id )   X-Ref

since: 3.0.0

bp_nouveau_prepare_group_potential_invites_for_js( $user )   X-Ref

since: 3.0.0

bp_nouveau_get_group_potential_invites( $args = array()   X-Ref

since: 3.0.0

bp_nouveau_group_invites_create_steps( $steps = array()   X-Ref

since: 3.0.0

bp_nouveau_group_setup_nav()   X-Ref

since: 3.0.0

bp_nouveau_groups_invites_custom_message( $message = '' )   X-Ref

since: 3.0.0

bp_nouveau_prepare_group_for_js( $item )   X-Ref
Format a Group for a json reply

since: 3.0.0

bp_nouveau_groups_invites_restriction_nav()   X-Ref
Group invites restriction settings navigation.

since: 3.0.0

bp_nouveau_groups_invites_restriction_admin_nav( $wp_admin_nav )   X-Ref
Group invites restriction settings Admin Bar navigation.

since: 3.0.0
param: array $wp_admin_nav The list of settings admin subnav items.
return: array The list of settings admin subnav items.

bp_nouveau_groups_screen_invites_restriction()   X-Ref
Group invites restriction screen.

since: 3.0.0

bp_nouveau_get_groups_directory_nav_items()   X-Ref

since: 3.0.0

bp_nouveau_get_groups_filters( $context = '' )   X-Ref
Get Dropdown filters for the groups component

since: 3.0.0
param: string $context 'directory' or 'user'
return: array the filters

bp_nouveau_groups_catch_button_args( $button = array()   X-Ref
Catch the arguments for buttons

since: 3.0.0
param: array $button The arguments of the button that BuddyPress is about to create.
return: array An empty array to stop the button creation process.

bp_nouveau_get_hooked_group_meta()   X-Ref
Catch the content hooked to the 'bp_group_header_meta' action

since: 3.0.0
return: string|bool HTML Output if hooked. False otherwise.

bp_nouveau_groups_do_group_boxes()   X-Ref
Display the Widgets of Group extensions into the default front page?

since: 3.0.0
return: bool True to display. False otherwise.

bp_nouveau_groups_front_page_description()   X-Ref
Display description of the Group into the default front page?

since: 3.0.0
return: bool True to display. False otherwise.

bp_nouveau_groups_customizer_sections( $sections = array()   X-Ref
Add sections to the customizer for the groups component.

since: 3.0.0
param: array $sections the Customizer sections to add.
return: array the Customizer sections to add.

bp_nouveau_groups_customizer_settings( $settings = array()   X-Ref
Add settings to the customizer for the groups component.

since: 3.0.0
param: array $settings Optional. The settings to add.
return: array the settings to add.

bp_nouveau_groups_customizer_controls( $controls = array()   X-Ref
Add controls for the settings of the customizer for the groups component.

since: 3.0.0
param: array $controls Optional. The controls to add.
return: array the controls to add.

bp_nouveau_group_reset_front_template( $templates = array()   X-Ref
Add the default group front template to the front template hierarchy.

since: 3.0.0
param: array           $templates Optional. The list of templates for the front.php template part.
param: BP_Groups_Group $group Optional. The group object.
return: array The same list with the default front template if needed.

bp_nouveau_group_locate_template_part( $template = '' )   X-Ref
Locate a single group template into a specific hierarchy.

since: 3.0.0
param: string $template Optional. The template part to get (eg: activity, members...).
return: string The located template.

bp_nouveau_group_get_template_part( $template = '' )   X-Ref
Load a single group template part

since: 3.0.0
param: string $template Optional. The template part to get (eg: activity, members...).
return: string HTML output.

bp_nouveau_group_is_home_widgets()   X-Ref
Are we inside the Current group's default front page sidebar?

since: 3.0.0
return: bool True if in the group's home sidebar. False otherwise.

bp_nouveau_group_activity_widget_overrides( $args = array()   X-Ref
Filter the Latest activities Widget to only keep the one of the group displayed

since: 3.0.0
param: array $args Optional. The Activities Template arguments.
return: array The Activities Template arguments.

bp_nouveau_group_groups_widget_overrides( $args = array()   X-Ref
Filter the Groups widget to only keep the displayed group.

since: 3.0.0
param: array $args Optional. The Groups Template arguments.
return: array The Groups Template arguments.

bp_nouveau_group_members_widget_overrides( $args = array()   X-Ref
Filter the Members widgets to only keep members of the displayed group.

since: 3.0.0
param: array $args Optional. The Members Template arguments.
return: array The Members Template arguments.

bp_nouveau_groups_add_home_widget_filters()   X-Ref
Init the Group's default front page filters as we're in the sidebar

since: 3.0.0

bp_nouveau_groups_remove_home_widget_filters()   X-Ref
Remove the Group's default front page filters as we're no more in the sidebar

since: 3.0.0

bp_nouveau_group_get_core_create_screens( $id = '' )   X-Ref
Get the hook, nonce, and eventually a specific template for Core Group's create screens.

since: 3.0.0
param: string $id Optional. The screen id
return: mixed An array containing the hook dynamic part, the nonce, and eventually a specific template.

bp_nouveau_group_get_core_manage_screens( $id = '' )   X-Ref
Get the hook and nonce for Core Group's manage screens.

since: 3.0.0
param: string $id Optional. The screen id
return: mixed An array containing the hook dynamic part and the nonce.

bp_nouveau_groups_notification_filters()   X-Ref
Register notifications filters for the groups component.

since: 3.0.0



Generated: Thu Nov 21 01:01:38 2019 Cross-referenced by PHPXref 0.7.1