PHP Class Mlp_Redirect

ファイルを表示 Open project: inpsyde/multilingual-press Class Usage Examples

Public Methods

Method Description
__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.

Private Methods

Method Description
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.

Method Details

__construct() public method

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() public method

Determines the current state and actions, and calls subsequent methods.
public setup ( ) : boolean
return boolean