[ Index ]

PHP Cross Reference of BuddyPress




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

Members functions

Version: 6.0.0
File Size: 508 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 18 functions


Functions that are not part of a class:

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

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

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.
return: array An empty array to stop the button creation process.
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

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

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.
return: array Only the global front templates.
since: 3.0.0

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...).
return: string The located template.
since: 3.0.0

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...).
return: string HTML output.
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

param: array $args The Activities Template arguments.
return: array 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.

param: array $args The Groups Template arguments.
return: array 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.

param: array $args The Members Template arguments.
return: array 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

param: WP_User $user The user object. Optional.
return: array The list of WP Profile fields
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

Generated: Wed Oct 21 01:01:33 2020 Cross-referenced by PHPXref 0.7.1