Removes function ui_get_posts