is_valid_key example


    public function add( $key$data$group = 'default', $expire = 0 ) {
        if ( wp_suspend_cache_addition() ) {
            return false;
        }

        if ( ! $this->is_valid_key( $key ) ) {
            return false;
        }

        if ( empty( $group ) ) {
            $group = 'default';
        }

        $id = $key;
        if ( $this->multisite && ! isset( $this->global_groups[ $group ] ) ) {
            $id = $this->blog_prefix . $key;
        }

        
Home | Imprint | This part of the site doesn't use cookies.