Snippets: Enable The Image Gallery For Custom Post Types

add_filter( 'wpex_gallery_metabox_post_types', function( $types ) {
	$types[] = 'your_post_type';
	return $types;
} );
All PHP snippets should be added via a child theme's functions.php file.