pre_option

pre_option

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_option') is found 1 times:

  • /wp-includes/option.php line 150
    	 * @param string $option        Name of the option.
    	 * @param mixed  $default_value The fallback value to return if the option does not exist.
    	 *                              Default false.
    	 */
    	$pre = apply_filters( 'pre_option', $pre, $option, $default_value );
    
    	if ( false !== $pre ) {
    		return $pre;
    	}
    
    	if ( defined( 'WP_SETUP_CONFIG' ) ) {