Support

Home Forums Event Espresso Premium Remove Time from c shortcode

Remove Time from c shortcode

Posted: March 18, 2015 at 9:09 am

Viewing 5 reply threads


mautin

March 18, 2015 at 9:09 am

Hi Guys, I am looking for a way to remove the time on the [DATETIME_START] – [DATETIME_END] shortcodes. They are found in the mail templates.

Your help would be greatly appreciated.

Best Michael


Lorenzo Orlando Caum

  • Support Staff

March 19, 2015 at 12:34 pm

Hi Michael, those are currently part of the core plugin and can’t be easily changed without editing the core:

/wp-content/event-espresso-core-reg/core/libraries/shortcodes/EE_Datetime_Shortcodes.lib.php


Lorenzo


mautin

March 20, 2015 at 2:27 am

Hi Lorenzo,

the file you referred me to calls another function DTT_EVT_start which comes up so many times in the files that I would not no where to edit it. Basically it would not even matter if all the hours times were gone 😉

Best Michael


Dean

March 20, 2015 at 3:16 am

Hi,

The function should be get_i18n_datetime which is found in /wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php

Please note that we really don’t recommend modifying core files, and your changes will be over written on plugin update.


mautin

March 22, 2015 at 2:42 am

Hi Dean, I was not able to find that function in the provided file (EE_Base_Class.class.php). Meaning I am still at a loss.

Best Michael


Dean

March 23, 2015 at 3:53 am

Hi,

Is your version of EE4 up to date? If not please update.

If it is, then the function is found on (approx.) line 842 (screenshot http://take.ms/Z9GPP)

Viewing 5 reply threads

The support post ‘Remove Time from c shortcode’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso