wp_cache_supports example


    function wp_cache_flush_runtime() {
        if ( ! wp_cache_supports( 'flush_runtime' ) ) {
            _doing_it_wrong(
                __FUNCTION__,
                __( 'Your object cache implementation does not support flushing the in-memory runtime cache.' ),
                '6.1.0'
            );

            return false;
        }

        return wp_cache_flush();
    }
Home | Imprint | This part of the site doesn't use cookies.