# convertkit/2.4.2/views/backend/term/fields-edit.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 2.4.2. 51 lines.

- Page: https://pluginprobe.com/plugins/convertkit/2.4.2/code/views/backend/term/fields-edit.php
- Raw: https://pluginprobe.com/plugins/convertkit/2.4.2/raw/views/backend/term/fields-edit.php
- Modified: 2023-12-04T15:30:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/convertkit/2.4.2/code/views/backend/term/fields-edit.php#L10-L20`.

```php
<?php
/**
 * Edit Term Fields template
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>
<tr class="form-field">
	<th scope="row">
		<label for="wp-convertkit-form"><?php esc_html_e( 'ConvertKit Form', 'convertkit' ); ?></label>
	</th>
	<td>
		<div class="convertkit-select2-container convertkit-select2-container-grid">
			<?php
			echo $convertkit_forms->get_select_field_all( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
				'wp-convertkit[form]',
				'wp-convertkit-form',
				array(
					'convertkit-select2',
				),
				esc_attr( $convertkit_term->get_form() ),
				array(
					'0' => esc_html__( 'Default', 'convertkit' ),
				)
			);
			?>

			<button class="wp-convertkit-refresh-resources" class="button button-secondary" title="<?php esc_attr_e( 'Refresh Forms from ConvertKit account', 'convertkit' ); ?>" data-resource="forms" data-field="#wp-convertkit-form">
				<span class="dashicons dashicons-update"></span>
			</button>
			<p class="description">
				<code><?php esc_html_e( 'Default', 'convertkit' ); ?></code>
				<?php esc_html_e( ': Display a form based on the Post\'s settings.', 'convertkit' ); ?>
				<br />
				<?php
				printf(
					/* translators: Taxonomy Name */
					esc_html__( 'Any other option will display that form after the main content for Posts assigned to this %s.', 'convertkit' ),
					'category'
				);
				?>
			</p>
		</div>
		<?php
		wp_nonce_field( 'wp-convertkit-save-meta', 'wp-convertkit-save-meta-nonce' );
		?>
	</td>
</tr>

```
