Can I update all my posts inside my custom post type by creating a simple function

Can I update all my posts inside my custom post type by creating a simple function

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduseduseduseduedueduedusedusedu