In your theme or child-theme functions.php file add following filter:
// Stec filter: force Icon Type to Date add_filter('stec_insert_post', function($post_data) { if ($post_data['post_type'] !== 'stec_event') { return $post_data; } $post_data['meta_input']['icon_type'] = 'date'; return $post_data; });
Is there a way to set the default event symbol type to DATE instead of having to manually change it every time you create an event?
Hi,
In your theme or child-theme functions.php file add following filter:
Stachethemes Developer
I added it to the end of functions.php, but "select event symbol type" still defaults to icon when adding a new event.
The icon type should change upon saving the event.
Stachethemes Developer