pre_cache_alloptions

pre_cache_alloptions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('pre_cache_alloptions') is found 1 times:

  • /wp-includes/option.php line 639
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
             * @since 4.9.0
             *
             * @param array $alloptions Array with all options.
             */
            $alloptions = apply_filters( 'pre_cache_alloptions', $alloptions );
     
            wp_cache_add( 'alloptions', $alloptions, 'options' );
        }
    }
     
    /**