Changeset 12042 for trunk/wp-includes/functions.php
- Timestamp:
- 10/15/2009 08:26:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r12023 r12042 3173 3173 3174 3174 function get_site_option( $key, $default = false, $use_cache = true ) { 3175 // Allow plugins to short-circuit site options. 3176 $pre = apply_filters( 'pre_site_option_' . $key, false ); 3177 if ( false !== $pre ) 3178 return $pre; 3179 3175 // Allow plugins to short-circuit site options. 3176 $pre = apply_filters( 'pre_site_option_' . $key, false ); 3177 if ( false !== $pre ) 3178 return $pre; 3179 3180 3180 $value = get_option($key, $default); 3181 3181 3182 3182 return apply_filters( 'site_option_' . $key, $value ); 3183 3183 }
Note: See TracChangeset
for help on using the changeset viewer.