[ 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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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
return: array                 Additional information about the members loop.



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1