<div class="option-section" style="display: block;">
	<label for="exclude-post-types" class="exclude-post-types-checkbox checkbox-label">
		<input type="checkbox" id="exclude-post-types" value="1" autocomplete="off" name="exclude_post_types"<?php $this->maybe_checked( $loaded_profile['exclude_post_types'] ); ?> />
		<?php _e( 'Exclude Post Types', 'wp-migrate-db' ); ?>
	</label>

	<div class="indent-wrap expandable-content post-type-select-wrap" style="display: none;">
		<div class="select-post-types-wrap select-wrap">
			<div class="exclude-post-types-warning" style="display: none; opacity: 0;">
				<p>
					<span class="migrate-msg"><?php _e( 'WARNING: All of the following post types will be absent in the destination posts table after migration:', 'wp-migrate-db' ); ?></span>
					<span class="find-replace-msg"><?php _e( 'WARNING: The following post types will not be included in the find &amp; replace:', 'wp-migrate-db' ); ?></span>
					<br>
					<span class="excluded-post-types">
						<?php
							if ( ! empty( $loaded_profile['select_post_types'] ) ) {
								echo '<code>' . implode( '</code>, <code>', array_map( 'esc_html', $loaded_profile['select_post_types'] ) ) . '</code>';
							}
						?>
					</span>
				</p>
			</div>
			<select multiple="multiple" name="select_post_types[]" id="select-post-types" class="multiselect" autocomplete="off">
				<?php foreach ( $this->get_post_types() as $post_type ) :
					if ( ! empty( $loaded_profile['select_post_types'] ) && in_array( $post_type, $loaded_profile['select_post_types'] ) ) {
						printf( '<option value="%1$s" selected="selected">%1$s</option>', $post_type );
					} else {
						printf( '<option value="%1$s">%1$s</option>', $post_type );
					}
				endforeach; ?>
			</select>
			<br/>
			<a href="#" class="multiselect-select-all js-action-link"><?php _e( 'Select All', 'wp-migrate-db' ); ?></a>
			<span class="select-deselect-divider">/</span>
			<a href="#" class="multiselect-deselect-all js-action-link"><?php _e( 'Deselect All', 'wp-migrate-db' ); ?></a>
			<span class="select-deselect-divider">/</span>
			<a href="#" class="multiselect-invert-selection js-action-link"><?php _e( 'Invert Selection', 'wp-migrate-db' ); ?></a>
		</div>
	</div>
</div>