<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ICS Importer - Documentation</title>
	<atom:link href="https://docs.myeventon.com/documentation/addons/ics-importer/feed/" rel="self" type="application/rss+xml" />
	<link>https://docs.myeventon.com</link>
	<description>EventON Documentation</description>
	<lastBuildDate>Tue, 17 Mar 2026 22:15:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Changelog for ICS Importer</title>
		<link>https://docs.myeventon.com/documentations/changelog-ics-importer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changelog-ics-importer</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Mon, 22 Aug 2016 20:36:35 +0000</pubDate>
				<guid isPermaLink="false">http://www.myeventon.com/?post_type=document&#038;p=19345</guid>

					<description><![CDATA[<p>v 2.0.7 (2026-3-17)ADDED: Duplicate event notice on fetched events screenFIXED: duplicate event check not working v 2.0.6 (2025-6-10)ADDED: Notice on event edit page for ics imported eventsADDED: Ability to delete all imported events quicklyFIXED: sync already imported events not workingUPDATED: Moved perfomed jobs to lightbox view v 2.0.5 (2025-3-5)FIXED: ics url getting escaped incorrectly v [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/changelog-ics-importer/">Changelog for ICS Importer</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>v 2.0.7 (2026-3-17)</strong><br>ADDED: Duplicate event notice on fetched events screen<br>FIXED: duplicate event check not working</p>



<p><strong>v 2.0.6 (2025-6-10)</strong><br>ADDED: Notice on event edit page for ics imported events<br>ADDED: Ability to delete all imported events quickly<br>FIXED: sync already imported events not working<br>UPDATED: Moved perfomed jobs to lightbox view</p>



<p><strong>v 2.0.5 (2025-3-5)</strong><br>FIXED: ics url getting escaped incorrectly</p>



<p><strong>v 2.0.4 (2024-11-14)</strong><br>FIXED: import ICS file from remote lightbox controls not working<br>REQ: EventON 4.7.3</p>



<p><strong>v 2.0.3 (2024-11-6)</strong><br>FIXED: php 8.2 issues<br>FIXED: toTimezone() not processing certain timezones correctly<br>FIXED: print_imported_events() line 204 error call on null</p>



<p><strong>v 2.0.2 (2024-1-3)</strong><br>ADDED: fetch and import type settings<br>ADDED: php version validation notice<br>FIXED: PHP 8.3 errors<br>FIXED: all day event end date detection</p>



<p><strong>v 2.0.1 (2023-12-5)</strong><br>ADDED: hourly ics auto import cron schedule<br>FIXED: settings link from plugin page<br>FIXED: IcalParser lib toTimezone() return mixed error</p>



<p><strong>v 2.0 (2023-10-13)</strong><br>ADDED: ability to set custom timezone for importing events<br>ADDED: new side panel options to hide end time on imported events<br>ADDED: new side panel option to set user interaction<br>ADDED: new side panel option to modify all processed events times<br>FIXED: use wp_remote_get instead of download_url() for ICS files<br>UPDATED: ICS file processing via lightbox window<br>UPDATED: use eventon settings library</p>



<p><strong>v 1.1.4 (2020-10-22)</strong><br>FIXED: all day events end day importing as one day past<br>FIXED: validate the cron schedule passed values<br>FIXED: Compatibility with eventON 4.0</p>



<p><strong>v 1.1.3 (2020-11-4)</strong><br>FIXED: compatibility with eventON 3.0<br>FIXED: PHP new version compatibility issue with icalParser.php</p>



<p><strong>v 1.1.2 (2020-7-29)</strong><br>ADDED: Option to import past events as well<br>FIXED: cron errors on class<br>FIXED: ics from fetching past events</p>



<p><strong>v 1.1.1 (2020-7-16)</strong><br>FIXED: events not importing as publish<br>FIXED: Call to undefined method evoics_cron::record_log()<br>FIXED: manual file upload method giving error on first time use</p>



<p><strong>v 1.1 (2020-6-19)</strong><br>ADDED: hover over description to show excerpt of it<br>FIXED: remove \ from text<br>FIXED: multiline description not capturing<br>FIXED: description starting with http: breaking description<br>FIXED: a line starting with : not getting recognized<br>UPDATED: minor style changes<br>UPDATED: ics parsing library</p>



<p><strong>v 1.0.4 (2019-9-20)</strong><br>FIXED: sync already imported events not updating event name<br>FIXED: ICS time passed with TZID not processing the event time<br>FIXED: Ics file description not passing through correct</p>



<p><strong>v 1.0.3 (2019-8-26)</strong><br>ADDED: ability to edit date time by clicking on them before processing<br>FIXED: Duplicate event imports<br>FIXED: Undefined start and end date on ICS file<br>FIXED: support for google calendar exported ics all day events</p>



<p><strong>v 1.0.2 (2017-12-19)</strong><br>FIXED: setting default UTC timezone when timezone adjusting is disable<br>FIXED: cron jobs not recording the importing information correct<br>FIXED: Import to support new PHP version<br>FIXED: Deselect all not working correct</p>



<p><strong>v 1.0.1 (2017-8-25)</strong><br>ADDED: Imported events convert into links with event edit page link<br>ADDED: Skipped events count during import<br>FIXED: manual link missing error for manual upload types<br>FIXED: cron schedule not removing once set to manual syncing<br>FIXED: individual fetched events select not working<br>FIXED: Status field missing on import processing values<br>FIXED: not importing events unless clicked select all<br>FIXED: fetching process messages and progress not showing correct<br>FIXED: alreasy synced events not getting updated<br>FIXED: publish fetched events still saving as draft<br>UPDATED: success message layout design</p>



<p><strong>v 1.0 (2017-7-7)</strong><br>ADDED: Ability to set schedule imports from ICS file<br>ADDED: Ability to import events from an external ICS file URL<br>ADDED: Ability cron based auto importing<br>ADDED: UID based sync already uploaded events<br>ADDED: view past auto scheduled import log<br>UPDATED: settings layout placements<br>REQUIRE: Eventon 2.5.5</p>



<p><strong>v 0.3 (2017-3-27)</strong><br>ADDED: Pluggable hook for skipping fields when saving fields<br>FIXED: Location with quotation marks not showing correct</p>



<p><strong>v 0.2 (2016-10-10)</strong><br>UPDATED: compatibility with eventon 2.4.7</p>



<p><strong>v 0.1 (2016-8-22)</strong><br>Initial release</p><p>The post <a href="https://docs.myeventon.com/documentations/changelog-ics-importer/">Changelog for ICS Importer</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add support for additional ICS fields</title>
		<link>https://docs.myeventon.com/documentations/add-support-additional-ics-fields/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-support-additional-ics-fields</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Mon, 22 Aug 2016 20:31:29 +0000</pubDate>
				<guid isPermaLink="false">http://www.myeventon.com/?post_type=document&#038;p=19344</guid>

					<description><![CDATA[<p>All the below PHP code must be placed in your theme&#160;functions.php&#160;file for them to work correctly. Step #1 Include additional fields in the fields array. So here we are including the field evcal_subtitle in the fields array that will be cycle through to fetch values and to save values. You can refer here for other [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/add-support-additional-ics-fields/">How to add support for additional ICS fields</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>All the below PHP code must be placed in your theme&nbsp;<strong>functions.php&nbsp;</strong>file for them to work correctly.</p>



<h3 class="wp-block-heading">Step #1</h3>



<p>Include additional fields in the fields array.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evoics_additional_ics_fields', 'evoics_fields', 10, 1);
function evoics_fields($fields){
	$fields[] = 'evcal_subtitle';
	return $fields;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_additional_ics_fields</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_fields</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">1</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evoics_fields</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #ECEFF4">[]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evcal_subtitle</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<p>So here we are including the field evcal_subtitle in the fields array that will be cycle through to fetch values and to save values. You can refer here for other event post meta fields variable names http://www.myeventon.com/documentation/event-post-meta-variables/</p>



<h3 class="wp-block-heading">Step #2</h3>



<p>Display the imported additional field values in fetched events screen as hidden field so that can be passed on to saving the value.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evoics_additional_data_validation', 'evoics_validate',10,1);
function evoics_validate($ics_data){
	if(!empty($ics_data['SUBTITLE'])){
		$ics_data = array_merge($ics_data, array(
			'evcal_subtitle'=&gt;$ics_data['SUBTITLE']
		));
	}
	return $ics_data;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_additional_data_validation</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_validate</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">1</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evoics_validate</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">ics_data</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">if</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">!empty</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">ics_data</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">SUBTITLE</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">])){</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">ics_data</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">array_merge</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">ics_data</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">array</span><span style="color: #ECEFF4">(</span></span>
<span class="line"><span style="color: #88C0D0">			</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evcal_subtitle</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">=&gt;$</span><span style="color: #D8DEE9">ics_data</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">SUBTITLE</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span></span>
<span class="line"><span style="color: #88C0D0">		</span><span style="color: #ECEFF4">))</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #ECEFF4">}</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">ics_data</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<h3 class="wp-block-heading">Step #3</h3>



<p>Saving the field values. By default the additional field will be saved as event post meta using the variable name you gave. You can also use the below pluggable hook to perform your own saving function within the fields loop. $post_id here represents the already created event ID that can be used to associate things to the correct event.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_action('evoics_save_event_custom_data','evoics_save_inloop',10,3);
function evoics_save_inloop($post_id, $post_data, $field){
	if($field!= 'evcal_subtitle') return false;
	
	// perform your own saving function
	update_post_meta($post_id, $field, $post_data[$field]);

	// You can use below to save taxonomy values eg. for event type category terms
	// wp_set_post_terms( $post_id, $post_data[$field], 'event_type');
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_action</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_save_event_custom_data</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_save_inloop</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">3</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evoics_save_inloop</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">post_id</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">post_data</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">field</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">if</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">field</span><span style="color: #81A1C1">!=</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evcal_subtitle</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">false;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// perform your own saving function</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #88C0D0">update_post_meta</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">post_id</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">field</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">post_data</span><span style="color: #ECEFF4">[</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">field</span><span style="color: #ECEFF4">])</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// You can use below to save taxonomy values eg. for event type category terms</span></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// wp_set_post_terms( $post_id, $post_data[$field], &#39;event_type&#39;);</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<p>You can also use the below pluggable action to save outside the fields loop.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="do_action('evoics_save_additional_data', $post_id, $post_data);" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">do_action</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evoics_save_additional_data</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">post_id</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">post_data</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span></code></pre></div>



<p> NOTE: When you add an extra field make sure you are associating that with the correct event post meta variable name for Event &#8212; you can find the commonly used event post meta variable names in here http://www.myeventon.com/documentation/event-post-meta-variables/</p><p>The post <a href="https://docs.myeventon.com/documentations/add-support-additional-ics-fields/">How to add support for additional ICS fields</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
