Changeset 37264
- Timestamp:
- 04/20/2016 03:46:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r37263 r37264 845 845 * 846 846 * Both $name and $value can contain only ASCII letters, numbers and underscores. 847 * 847 848 * This function has to be used before any output has started as it calls setcookie(). 848 849 * … … 851 852 * @param string $name The name of the setting. 852 853 * @param string $value The value for the setting. 853 * @return bool| void true if set successfully/false if not.854 * @return bool|null True if set successfully, false if not. Null if the current user can't be established. 854 855 */ 855 856 function set_user_setting( $name, $value ) { … … 868 869 * 869 870 * Deleting settings would reset them to the defaults. 871 * 870 872 * This function has to be used before any output has started as it calls setcookie(). 871 873 * … … 873 875 * 874 876 * @param string $names The name or array of names of the setting to be deleted. 875 * @return bool| void true if deleted successfully/false if not.877 * @return bool|null True if deleted successfully, false if not. Null if the current user can't be established. 876 878 */ 877 879 function delete_user_setting( $names ) {
Note: See TracChangeset
for help on using the changeset viewer.