\jb\integrationsInit

Class Init

Summary

Methods
Properties
Constants
__construct()
plugins_loaded()
pre_template_locations_common_locale()
is_wpml_active()
is_polylang_active()
is_translatepress_active()
is_weglot_active()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

Init constructor.

Returns

mixed

plugins_loaded()

plugins_loaded() : mixed

Returns

mixed

pre_template_locations_common_locale()

pre_template_locations_common_locale(array  $template_locations, string  $template_name, string  $module, string  $template_path) : array

Email notifications integration with `get_user_locale()`

Parameters

array $template_locations
string $template_name
string $module
string $template_path

Returns

array

is_wpml_active()

is_wpml_active() : bool

Check if WPML is active

Returns

bool

is_polylang_active()

is_polylang_active() : bool

Check if Polylang is active

Returns

bool

is_translatepress_active()

is_translatepress_active() : bool

Check if TranslatePress is active

Returns

bool

is_weglot_active()

is_weglot_active() : bool

Check if Weglot is active

Returns

bool