Methods

__construct()

__construct() : mixed

Access constructor.

Returns

mixed

shortcode_pre_args_setup()

shortcode_pre_args_setup(array  $args) : array

UM filter - Restore original arguments on translated page

Parameters

array $args

Returns

array

transposh_user_profile()

transposh_user_profile() : mixed

Integration for the "Transposh Translation Filter" plugin

Returns

mixed

plugins_loaded()

plugins_loaded() : mixed

Gravity forms role capabilities compatibility

Returns

mixed

bbpress_no_access_message_fix()

bbpress_no_access_message_fix() : mixed

Fixed bbPress access to Forums message

Returns

mixed

forumwp_fix()

forumwp_fix() : mixed

Fixed ForumWP access to Forums message

Returns

mixed

woocommerce_fix()

woocommerce_fix() : mixed

Fixed Woocommerce access to Products message

Returns

mixed

woocommerce_template()

woocommerce_template(string  $single_template) : string

Parameters

string $single_template

Returns

string

um_localize_profile_url()

um_localize_profile_url(bool|string  $profile_url, string  $slug) : string

Change user profile URL for WPML compatibility.

Parameters

bool|string $profile_url

Profile URL.

string $slug

Profile slug.

Returns

string

um_localize_profile_nav_url()

um_localize_profile_nav_url(string  $page_url, bool  $no_query_params) : string

Change current URL for WPML compatibility.

Note: It's used for User Profile nav links fix

Parameters

string $page_url

Current URL.

bool $no_query_params

Ignore $_GET attributes in URL. "true" == ignore.

Returns

string

um_core_page_wpml_permalink()

um_core_page_wpml_permalink(array  $array) : array

Filters the displayed languages of the WPML language switcher.

Parameters

array $array

Collection of active languages to display in the language switcher.

Returns

array

is_wpml_active()

is_wpml_active() : bool|mixed

Check if WPML is active

Returns

bool|mixed

get_url_for_language()

get_url_for_language( $post_id,  $language) : bool|string

Get a translated core page URL

Parameters

$post_id
$language

Returns

bool|string

get_languages_codes()

get_languages_codes(bool|string  $current_code = false) : array

Parameters

bool|string $current_code

Returns

array

get_core_page_url()

get_core_page_url( $url,  $slug,  $updated) : bool|string

Parameters

$url
$slug
$updated

Returns

bool|string

um_admin_settings_email_section_fields()

um_admin_settings_email_section_fields( $section_fields,  $email_key) : array

Adding endings to the "Subject Line" field, depending on the language.

Parameters

$section_fields
$email_key

Returns

array

um_email_send_subject()

um_email_send_subject( $subject,  $template) : string

Adding endings to the "Subject Line" field, depending on the language.

Parameters

$subject
$template

Returns

string

locate_email_template()

locate_email_template( $template,  $template_name) : string

Parameters

$template
$template_name

Returns

string

change_email_template_file()

change_email_template_file( $template) : string

Parameters

$template

Returns

string

add_email_templates_wpml_column()

add_email_templates_wpml_column( $columns) : array

Parameters

$columns

Returns

array

wpml_column_content()

wpml_column_content( $item) : string

Parameters

$item

Returns

string

get_status_html()

get_status_html( $template,  $code) : string

Parameters

$template
$code

Returns

string

render_status_icon()

render_status_icon( $link,  $text,  $img) : string

Parameters

$link
$text
$img

Returns

string