PHP Класс Mlp_Redirect

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Inpsyde\MultilingualPress\Module\ModuleManager $modules, Mlp_Language_Api_Interface $language_api, $deprecated ) Constructor.
setup ( ) : boolean Determines the current state and actions, and calls subsequent methods.

Приватные методы

Метод Описание
activation_column ( ) : void Shows the redirect status in the sites list.
frontend_redirect ( ) : void Redirects visitors to the best matching language alternative.
register_setting ( ) : boolean Registers the settings.
site_settings ( ) : void Sets up site-specific settings.
user_settings ( ) : void Sets up user-specific settings.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Inpsyde\MultilingualPress\Module\ModuleManager $modules, Mlp_Language_Api_Interface $language_api, $deprecated )
$modules Inpsyde\MultilingualPress\Module\ModuleManager
$language_api Mlp_Language_Api_Interface
$deprecated

setup() публичный Метод

Determines the current state and actions, and calls subsequent methods.
public setup ( ) : boolean
Результат boolean