메소드 | 설명 | |
---|---|---|
__construct ( string $meta_key, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce = null ) | Constructor. Sets up the properties. | |
update ( integer $user_id ) : boolean | Updates the setting with the data in the request for the user with the given ID. |
메소드 | 설명 | |
---|---|---|
get_value ( ) : string | Returns the value included in the request. |
public __construct ( string $meta_key, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce = null ) | ||
$meta_key | string | User meta key. |
$nonce | Inpsyde\MultilingualPress\Common\Nonce\Nonce | Optional. Nonce object. Defaults to null. |