src/properties/class-papi-property-post.php
public function render_option_template() {
		$settings   = $this->get_settings();
		$post_types = $this->get_post_types();

		?>
		<script type="text/template" id="tmpl-papi-property-post-option">
			<option
				data-allow-clear="<?php echo esc_attr( $settings->allow_clear ); ?>"

				<?php if ( $settings->edit_url ): ?>
				data-edit-url="<?php echo esc_attr( admin_url( 'post.php' ) ); ?>?post=<%= id %>&action=edit"
				<?php endif; ?>

				<?php if ( $settings->new_url ): ?>
				data-new-url="<?php echo esc_attr( admin_url( 'post-new.php?post_type=' ) ); ?><%= typeof type !== 'undefined' ? type : '<?php echo esc_attr( $post_types[0] ); ?>' %>"
				<?php endif; ?>

				value="<%= id %>"
				>
				<%= title %>
			</option>
		</script>
		<script type="text/template" id="tmpl-papi-property-post-option-placeholder">
			<option
				data-placeholder

				<?php if ( $settings->new_url ): ?>
				data-new-url="<?php echo esc_attr( admin_url( 'post-new.php?post_type=' ) ); ?><%= typeof type !== 'undefined' ? type : '<?php echo esc_attr( $post_types[0] ); ?>' %>"
				<?php endif; ?>
				>
			</option>
		</script>
		<?php
	}
public function render_option_template() {
		$settings   = $this->get_settings();
		$post_types = $this->get_post_types();

		?>
		<script type="text/template" id="tmpl-papi-property-post-option">
			<option
				data-allow-clear="<?php echo esc_attr( $settings->allow_clear ); ?>"

				<?php if ( $settings->edit_url ): ?>
				data-edit-url="<?php echo esc_attr( admin_url( 'post.php' ) ); ?>?post=<%= id %>&action=edit"
				<?php endif; ?>

				<?php if ( $settings->new_url ): ?>
				data-new-url="<?php echo esc_attr( admin_url( 'post-new.php?post_type=' ) ); ?><%= typeof type !== 'undefined' ? type : '<?php echo esc_attr( $post_types[0] ); ?>' %>"
				<?php endif; ?>

				value="<%= id %>"
				>
				<%= title %>
			</option>
		</script>
		<script type="text/template" id="tmpl-papi-property-post-option-placeholder">
			<option
				data-placeholder

				<?php if ( $settings->new_url ): ?>
				data-new-url="<?php echo esc_attr( admin_url( 'post-new.php?post_type=' ) ); ?><%= typeof type !== 'undefined' ? type : '<?php echo esc_attr( $post_types[0] ); ?>' %>"
				<?php endif; ?>
				>
			</option>
		</script>
		<?php
	}
Render option template.