Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail

Package s2Member\Roles_Caps

s2member\includes\classes\labels.inc.php at line #28

Class c_ws_plugin__s2member_labels

c_ws_plugin__s2member_labels

public class c_ws_plugin__s2member_labels

Membership Level Labels.

Since:

3.5


( 2 Methods )
Method Summary
public static str

_label_translations(str $translation, str $original, str $context)

A sort of callback function that deals with Label translations.

public static null

config_label_translations()

Configures Label translations.

( 2 Methods )
Method Detail

s2member\includes\classes\labels.inc.php at line #64

_label_translations()

public static str _label_translations(str $translation, str $original, str $context)

A sort of callback function that deals with Label translations.

Since:

3.5

Attaches-to:

add_filter("gettext_with_context");

Parameters:

str $translation - Expects a string; already translated.

str $original - The original text, passed in by the Filter.

str $context - Contextual specification for this translation.

Returns:

str - The $translation, after translations applied by this routine.

[ back to top ]

s2member\includes\classes\labels.inc.php at line #40

config_label_translations()

public static null config_label_translations()

Configures Label translations.

Since:

3.5

Attaches-to:

add_action("init");

Returns:

null

[ back to top ]

Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail