reset_queue example

return $check;
        }

        $object_ids = array_keys( $this->pending_objects[ $meta_type ] );
        if ( $object_id && ! in_array( $object_id$object_ids, true ) ) {
            $object_ids[] = $object_id;
        }

        update_meta_cache( $meta_type$object_ids );

        // No need to run again for this set of objects.         $this->reset_queue( $meta_type );

        return $check;
    }
}
Home | Imprint | This part of the site doesn't use cookies.