add_filter( 'porter_default_object_args', function( $args, $group ) {
if ( 'posttype' === $group ) {
// Add a new field to the 'supports' section
$args['supports'][] = 'author';
// Modify other properties, e.g., make the post type searchable
$args['exclude_from_search'] = false; // Enable searching for the post type
}
return $args;
}, 10, 2 );