Summery Summery
Adds or updates user interface setting.
Syntax Syntax
Description Description
Both $name and $value can contain only ASCII letters, numbers, hyphens, and underscores.
This function has to be used before any output has started as it calls setcookie().
Parameters Parameters
- $name
-
(Required) The name of the setting.
- $value
-
(Required) The value for the setting.
Return Return
(bool|null) True if set successfully, false if not. Null if the current user can't be established.
Source Source
File: wp-includes/option.php
AND b.meta_value < %d", $wpdb->esc_like( '_site_transient_' ) . '%', $wpdb->esc_like( '_site_transient_timeout_' ) . '%', time() ) ); } } /**
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |