<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if( function_exists('acf_add_local_field') ):

acf_add_local_field(
	array(
		'key' => 'acff_title',
		'label' => __( 'Title', 'acf-frontend-form-element' ),
		'required' => true,
		'name' => 'acff_title',
		'type' => 'post_title',
	)
);	

acf_add_local_field(
	array(
		'key' => 'acf_frontend_custom_term',
		'label' => __( 'Value', 'acf-frontend-form-element' ),
		'required' => true,
		'name' => 'acf_frontend_custom_term',
		'type' => 'text',
	)
);	
endif;
