[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Groups Template tags

Version: 10.0.0
File Size: 1524 lines (42 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 32 functions

  bp_nouveau_before_groups_directory_content()
  bp_nouveau_after_groups_directory_content()
  bp_nouveau_groups_create_hook()
  bp_nouveau_group_hook()
  bp_nouveau_groups_loop_item()
  bp_nouveau_groups_activity_post_form()
  bp_nouveau_group_print_invites_templates()
  bp_nouveau_group_print_invites_placeholders()
  bp_nouveau_group_invites_interface()
  bp_nouveau_groups_get_group_invites_setting()
  bp_nouveau_group_creation_tabs()
  bp_nouveau_group_creation_screen()
  bp_nouveau_group_manage_screen()
  bp_nouveau_group_header_buttons()
  bp_nouveau_groups_loop_buttons()
  bp_nouveau_groups_invite_buttons()
  bp_nouveau_groups_request_buttons()
  bp_nouveau_groups_manage_members_buttons()
  bp_nouveau_get_groups_buttons()
  bp_nouveau_group_has_meta()
  bp_nouveau_group_has_meta_extra()
  bp_nouveau_group_meta()
  bp_nouveau_the_group_meta()
  bp_nouveau_get_group_meta()
  bp_nouveau_group_template_part()
  bp_nouveau_group_header_template_part()
  bp_nouveau_groups_get_customizer_option_link()
  bp_nouveau_groups_get_customizer_widgets_link()
  bp_nouveau_group_description_excerpt()
  bp_nouveau_get_group_description_excerpt()
  bp_nouveau_group_type_checked()
  bp_nouveau_add_notify_group_members_checkbox()

Functions
Functions that are not part of a class:

bp_nouveau_before_groups_directory_content()   X-Ref
Template tag to wrap all Legacy actions that was used
before the groups directory content

since: 3.0.0

bp_nouveau_after_groups_directory_content()   X-Ref
Template tag to wrap all Legacy actions that was used
after the groups directory content

since: 3.0.0

bp_nouveau_groups_create_hook( $when = '', $suffix = '' )   X-Ref
Fire specific hooks into the groups create template.

param: string $when   Optional. Either 'before' or 'after'.
param: string $suffix Optional. Use it to add terms at the end of the hook name.
since: 3.0.0

bp_nouveau_group_hook( $when = '', $suffix = '' )   X-Ref
Fire specific hooks into the single groups templates.

param: string $when   Optional. Either 'before' or 'after'.
param: string $suffix Optional. Use it to add terms at the end of the hook name.
since: 3.0.0

bp_nouveau_groups_loop_item()   X-Ref
Fire an isolated hook inside the groups loop

since: 3.0.0

bp_nouveau_groups_activity_post_form()   X-Ref
Display the current group activity post form if needed

since: 3.0.0

bp_nouveau_group_print_invites_templates()   X-Ref
Prints the JS Templates to invite new members to join the Group.

since: 10.0.0

bp_nouveau_group_print_invites_placeholders()   X-Ref
Prints the HTML placeholders to invite new members to join the Group.

since: 10.0.0

bp_nouveau_group_invites_interface()   X-Ref
Load the Group Invites UI.

return: string HTML Output.
since: 3.0.0

bp_nouveau_groups_get_group_invites_setting( $user_id = 0 )   X-Ref
Gets the displayed user group invites preferences

param: int $user_id The user ID to check group invites preference for.
return: int          Returns 1 if user chose to restrict to friends, 0 otherwise.
since: 3.0.0
since: 4.4.0

bp_nouveau_group_creation_tabs()   X-Ref
Outputs the group creation numbered steps navbar

since: 3.0.0

bp_nouveau_group_creation_screen()   X-Ref
Load the requested Create Screen for the new group.

since: 3.0.0

bp_nouveau_group_manage_screen()   X-Ref
Load the requested Manage Screen for the current group.

since: 3.0.0

bp_nouveau_group_header_buttons( $args = array()   X-Ref
Output the action buttons for the displayed group

param: array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
since: 3.0.0

bp_nouveau_groups_loop_buttons( $args = array()   X-Ref
Output the action buttons inside the groups loop.

param: array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
since: 3.0.0

bp_nouveau_groups_invite_buttons( $args = array()   X-Ref
Output the action buttons inside the invites loop of the displayed user.

param: array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
since: 3.0.0

bp_nouveau_groups_request_buttons( $args = array()   X-Ref
Output the action buttons inside the requests loop of the group's manage screen.

param: array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
since: 3.0.0

bp_nouveau_groups_manage_members_buttons( $args = array()   X-Ref
Output the action buttons inside the manage members loop of the group's manage screen.

param: array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
since: 3.0.0

bp_nouveau_get_groups_buttons( $args = array()   X-Ref
Get the action buttons for the current group in the loop,
or the current displayed group.

param: array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
since: 3.0.0

bp_nouveau_group_has_meta( $meta_key = '' )   X-Ref
Does the group has metas or a specific meta value.

param: string $meta_key The key of the meta to check the value for.
return: bool             True if the group has meta. False otherwise.
since: 3.0.0
since: 3.2.0 Adds the $meta_key argument.

bp_nouveau_group_has_meta_extra()   X-Ref
Does the group have extra meta?

return: bool True if the group has meta. False otherwise.
since: 3.0.0

bp_nouveau_group_meta()   X-Ref
Display the group meta.

return: string HTML Output.
since: 3.0.0

bp_nouveau_the_group_meta( $args = array()   X-Ref
Outputs or returns the group meta(s).

param: array $args {
return: string HTML Output.
since: 7.0.0

bp_nouveau_get_group_meta( $keys = array()   X-Ref
Get the group template meta.

param: array $keys One or more template meta keys to populate with their values.
return: array      The corresponding group template meta values.
since: 3.0.0
since: 7.0.0 Adds the `$keys` parameter.

bp_nouveau_group_template_part()   X-Ref
Load the appropriate content for the single group pages

since: 3.0.0

bp_nouveau_group_header_template_part()   X-Ref
Use the appropriate Group header and enjoy a template hierarchy

since: 3.0.0

bp_nouveau_groups_get_customizer_option_link()   X-Ref
Get a link to set the Group's default front page and directly
reach the Customizer section where it's possible to do it.

return: string HTML Output
since: 3.0.0

bp_nouveau_groups_get_customizer_widgets_link()   X-Ref
Get a link to set the Group's front page widgets and directly
reach the Customizer section where it's possible to do it.

return: string HTML Output
since: 3.0.0

bp_nouveau_group_description_excerpt( $group = null, $length = null )   X-Ref
Output the group description excerpt

param: object $group Optional. The group being referenced.
param: int $length   Optional. Length of returned string, including ellipsis. Default: 100.
return: string Excerpt.
since: 3.0.0

bp_nouveau_get_group_description_excerpt( $group = null, $length = null )   X-Ref
Filters the excerpt of a group description.

Checks if the group loop is set as a 'Grid' layout and returns a reduced excerpt.

param: object $group Optional. The group being referenced. Defaults to the group currently being
param: int $length   Optional. Length of returned string, including ellipsis. Default: 100.
return: string Excerpt.
since: 3.0.0

bp_nouveau_group_type_checked( $type = null )   X-Ref
Output "checked" attribute to determine if the group type should be checked.

param: object $type Group type object. See bp_groups_get_group_type_object().
since: 3.2.0

bp_nouveau_add_notify_group_members_checkbox()   X-Ref
Adds the "Notify group members of these changes" checkbox to the Manage > Details panel.

See #7837 for background on why this technique is required.

since: 4.0.0



Generated: Tue Mar 19 01:01:09 2024 Cross-referenced by PHPXref 0.7.1