Method | Description | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, string $option_name = 'inpsyde_multilingual_redirect' ) | Constructor. | |
get_checkbox_name ( ) : string | Name attribute for the view's checkbox. | |
get_current_option_value ( ) : integer | ||
save ( array $data ) : boolean | Validate and save user input |
Method | Description | |
---|---|---|
get_current_blog_id ( array $data, integer $default ) : integer | ||
get_sent_value ( array $data ) : integer |
public __construct ( Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, string $option_name = 'inpsyde_multilingual_redirect' ) | ||
$nonce | Inpsyde\MultilingualPress\Common\Nonce\Nonce | Nonce object. |
$option_name | string |
public get_checkbox_name ( ) : string | ||
return | string |
public get_current_option_value ( ) : integer | ||
return | integer |