Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.
git-svn-id: https://develop.svn.wordpress.org/trunk@18658 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4d2f247e41
commit
d893b9568c
@ -324,6 +324,7 @@ function is_serialized_string( $data ) {
|
||||
* the option value.
|
||||
*
|
||||
* @param string $option Name of option to retrieve. Expected to not be SQL-escaped.
|
||||
* @param mixed $default Optional. Default value to return if the option does not exist.
|
||||
* @return mixed Value set for the option.
|
||||
*/
|
||||
function get_option( $option, $default = false ) {
|
||||
|
Loading…
Reference in New Issue
Block a user