public function removeEmptyCapabilities()
    {
        $this->db->query("DELETE FROM " . $this->db->usermeta . " WHERE meta_key LIKE '%" . $this->db->base_prefix . "_%capabilities%' AND meta_value = 'a:0:{}'");

        wp_cache_flush();
    }
public function removeEmptyCapabilities()
    {
        $this->db->query("DELETE FROM " . $this->db->usermeta . " WHERE meta_key LIKE '%" . $this->db->base_prefix . "_%capabilities%' AND meta_value = 'a:0:{}'");

        wp_cache_flush();
    }
public function removeEmptyCapabilities ( ) { $ this -> db -> query ( "DELETE FROM " . $ this -> db -> usermeta . " WHERE meta_key LIKE '%" . $ this -> db -> base_prefix . "_%capabilities%' AND meta_value = 'a:0:{}'" ) ; wp_cache_flush ( ) ; }
Deletes empty capabilities
@return void
Deletes empty capabilities