2020-05-02 / 2327阅 / 悠然
Retrieve user option that can be either per Site or per Network.
If the user ID is not given, then the current user will be used instead. If the user ID is given, then the user data will be retrieved. The filter for the result, will also pass the original option name and finally the user data object as the third parameter.
The option will first check for the per site name and then the per Network name.
(string)
(Required)
User option name.
(int)
(Optional)
User ID.
(string)
(Optional)
Use get_option() to check for an option in the options table.
Default value: ''
(mixed) User option value on success, false on failure.