Functions

__()

__($text, $domain = 'default'
package BuddyPress

Parameters

$text

$domain

__n()

__n($singular, $plural, $count, $domain = 'default'
package BuddyPress

Parameters

$singular

$plural

$count

$domain

Injects specific BuddyPress CSS classes into a widget sidebar.

_bp_core_inject_bp_widget_css_class(array $params) : array

Helps to standardize styling of BuddyPress widgets within a theme that does not use dynamic CSS classes in their widget sidebar's 'before_widget' call.

package BuddyPress
since 2.4.0
access private
global array $wp_registered_widgets Current registered widgets.

Parameters

$params

array

Current sidebar params.

Returns

array