Inventory_Presser_Taxonomies::__construct( $post_type = 'inventory_vehicle' )


Source

File: includes/class-taxonomies.php

	const CRON_HOOK_DELETE_TERMS = 'inventory_presser_delete_unused_terms';
	const LOCATION_MAX_PHONES = 10; //the maximum number of phones a single address holds
	const LOCATION_MAX_HOURS = 5; //the maximum number of sets of hours a single address holds

	/**
	 * add_location_fields
	 * 
	 * Outputs fields that are added to the add term page.
	 *
	 * @param  string $taxonomy
	 * @return void
	 */
	function add_location_fields( $taxonomy )
	{
		?><div class="form-field term-group location-tax">
			<div class="form-wrap form-field">
				<label><?php _e( 'Phone Numbers', 'inventory-presser' ); ?></label>
				<div class="repeat-group">
					<div class="repeat-container"></div>
					<div class="repeat-this">
						<div class="repeat-form">
							<input type="text" name="phone_description[]" placeholder="<?php _e( 'Label', 'inventory-presser' ); ?>" />
							<input type="text" name="phone_number[]" placeholder="<?php _e( 'Number', 'inventory-presser' ); ?>" required />
						</div>
						<div class="repeat-buttons">