Changeset 60978
- Timestamp:
- 10/19/2025 07:45:22 PM (4 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r60959 r60978 133 133 134 134 /** 135 * Filters the value of a ll existing optionsbefore it is retrieved.135 * Filters the value of any existing option before it is retrieved. 136 136 * 137 137 * Returning a value other than false from the filter will short-circuit retrieval … … 2039 2039 2040 2040 /** 2041 * Filters the value of an existing network optionsbefore it is retrieved.2041 * Filters the value of any existing network option before it is retrieved. 2042 2042 * 2043 2043 * Returning a value other than false from the filter will short-circuit retrieval … … 2046 2046 * @since 6.9.0 2047 2047 * 2048 * @param mixed $pre The value to return instead of the network option value. This differs2049 * from `$default`, which is used as the fallback value in the event2050 * the option doesn't exist elsewhere in get_network_option().2051 * Default false (to skip past the short-circuit).2052 * @param string $option Name of the option.2053 * @param int $network_id ID of the network.2054 * @param mixed $default_value The fallback value to return if the option does not exist.2055 * Default false.2048 * @param mixed $pre_option The value to return instead of the network option value. This differs 2049 * from `$default_value`, which is used as the fallback value in the event 2050 * the option doesn't exist elsewhere in get_network_option(). 2051 * Default false (to skip past the short-circuit). 2052 * @param string $option Name of the option. 2053 * @param int $network_id ID of the network. 2054 * @param mixed $default_value The fallback value to return if the option does not exist. 2055 * Default false. 2056 2056 */ 2057 2057 $pre = apply_filters( 'pre_site_option', $pre, $option, $network_id, $default_value );
Note: See TracChangeset
for help on using the changeset viewer.