I would like to simplify the creation of \"Custom Post Types\" in WordPress as it is tedious to go through the same script and change all the custom post type name instances
Simple enough, here's a similar snipped form a project:
$function = $prefix . '_custom_type_init'; if(function_exists($function)) { $function(); }