[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

Members functions

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

Defines 20 functions

  bp_nouveau_members_register_scripts()
  bp_nouveau_members_enqueue_scripts()
  bp_nouveau_get_members_directory_nav_items()
  bp_nouveau_get_members_filters()
  bp_nouveau_members_catch_button_args()
  bp_nouveau_get_hooked_member_meta()
  bp_nouveau_member_reset_front_template()
  bp_nouveau_member_restrict_user_front_templates()
  bp_nouveau_member_locate_template_part()
  bp_nouveau_member_get_template_part()
  bp_nouveau_members_wp_bio_info()
  bp_nouveau_member_is_home_widgets()
  bp_nouveau_member_activity_widget_overrides()
  bp_nouveau_member_groups_widget_overrides()
  bp_nouveau_member_members_widget_overrides()
  bp_nouveau_members_add_home_widget_filters()
  bp_nouveau_members_remove_home_widget_filters()
  bp_nouveau_get_wp_profile_fields()
  bp_nouveau_member_customizer_nav()
  bp_nouveau_members_loop_additional_info()

Functions
Functions that are not part of a class:

bp_nouveau_members_register_scripts( $scripts = array()   X-Ref
Register Scripts for the Members component

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

bp_nouveau_members_enqueue_scripts()   X-Ref
Enqueue the members scripts

since: 3.0.0

bp_nouveau_get_members_directory_nav_items()   X-Ref
Get the nav items for the Members directory

return: array An associative array of nav items.
since: 3.0.0

bp_nouveau_get_members_filters( $context = '' )   X-Ref
Get Dropdown filters for the members component

return: array the filters
param: string $context Optional.
since: 3.0.0

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

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

bp_nouveau_get_hooked_member_meta()   X-Ref
Catch the content hooked to the do_action hooks in single member header
and in the members loop.

return: string|false HTML Output if hooked. False otherwise.
since: 3.0.0
since: 6.0.0 Replace wrongly positioned `bp_directory_members_item`

bp_nouveau_member_reset_front_template( $templates = array()   X-Ref
Add the default user front template to the front template hierarchy

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

bp_nouveau_member_restrict_user_front_templates( $templates = array()   X-Ref
Only locate global user's front templates

return: array Only the global front templates.
param: array $templates The User's front template hierarchy.
since: 3.0.0

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

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

bp_nouveau_member_get_template_part( $template = '' )   X-Ref
Load a single member template part

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

bp_nouveau_members_wp_bio_info()   X-Ref
Display the User's WordPress bio info into the default front page?

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

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

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

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

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

bp_nouveau_member_groups_widget_overrides( $args = array()   X-Ref
Filter the Groups widget to only keep the groups the displayed user is a member of.

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

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

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

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

since: 3.0.0

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

since: 3.0.0

bp_nouveau_get_wp_profile_fields( $user = null )   X-Ref
Get the WP Profile fields for all or a specific user

return: array The list of WP Profile fields
param: WP_User $user The user object. Optional.
since: 3.0.0

bp_nouveau_member_customizer_nav()   X-Ref
Build the Member's nav for the our customizer control.

return: array The Members single item primary nav ordered.
since: 3.0.0

bp_nouveau_members_loop_additional_info( $additional_info = array()   X-Ref
Includes additional information about the Members loop Ajax response.

return: array                 Additional information about the members loop.
param: array $additional_info An associative array with additional information to include in the Ajax response.
param: array $args            The Ajax query arguments.
since: 10.0.0



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1