Changeset 53827 for trunk/src/wp-includes/option.php
- Timestamp:
- 08/04/2022 02:50:27 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r53704 r53827 115 115 * The dynamic portion of the hook name, `$option`, refers to the option name. 116 116 * 117 * Returning a truthy value from the filter will effectivelyshort-circuit retrieval118 * and return th e passedvalue instead.117 * Returning a value other than false from the filter will short-circuit retrieval 118 * and return that value instead. 119 119 * 120 120 * @since 1.5.0 … … 833 833 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 834 834 * 835 * Returning a truthy value from the filter will effectivelyshort-circuit retrieval836 * and return th e passedvalue instead.835 * Returning a value other than false from the filter will short-circuit retrieval 836 * and return that value instead. 837 837 * 838 838 * @since 2.8.0 … … 1004 1004 /** 1005 1005 * Deletes all expired transients. 1006 * 1007 * Note that this function won't do anything if an external object cache is in use. 1006 1008 * 1007 1009 * The multi-table delete syntax is used to delete the transient record … … 1133 1135 * Adds or updates user interface setting. 1134 1136 * 1135 * Both $name and $valuecan contain only ASCII letters, numbers, hyphens, and underscores.1136 * 1137 * This function has to be used before any output has started as it calls setcookie().1137 * Both `$name` and `$value` can contain only ASCII letters, numbers, hyphens, and underscores. 1138 * 1139 * This function has to be used before any output has started as it calls `setcookie()`. 1138 1140 * 1139 1141 * @since 2.8.0 … … 1160 1162 * Deleting settings would reset them to the defaults. 1161 1163 * 1162 * This function has to be used before any output has started as it calls setcookie().1164 * This function has to be used before any output has started as it calls `setcookie()`. 1163 1165 * 1164 1166 * @since 2.7.0 … … 1390 1392 * The dynamic portion of the hook name, `$option`, refers to the option name. 1391 1393 * 1392 * Returning a truthy value from the filter will effectivelyshort-circuit retrieval1393 * and return th e passedvalue instead.1394 * Returning a value other than false from the filter will short-circuit retrieval 1395 * and return that value instead. 1394 1396 * 1395 1397 * @since 2.9.0 As 'pre_site_option_' . $key … … 1421 1423 1422 1424 /** 1423 * Filters a specific default network option.1425 * Filters the value of a specific default network option. 1424 1426 * 1425 1427 * The dynamic portion of the hook name, `$option`, refers to the option name.
Note: See TracChangeset
for help on using the changeset viewer.