pre_option

pre_option

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.1

apply_filters('pre_option') is found 1 times:

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