Support

Home Forums Event Espresso Premium Override Template Tags FIle

Override Template Tags FIle

Posted: April 7, 2019 at 6:42 am


Nathan Winnall

April 7, 2019 at 6:42 am

Hi,

I am wondering how i override the template tags template file?

Thanks,
Nathan


Josh

  • Support Staff

April 8, 2019 at 6:58 am

Hi,

Most of the functions in the template tags file are pluggable. This means you can declare your own function of the same name in your own plugin and as long as your custom plugin file loads before template-tag.php loads, your function will be used instead.

Here’s a link to a reference that explains more about how to use & override pluggable functions:

https://code.tutsplus.com/articles/understanding-wordpress-pluggable-functions-and-their-usage–wp-30189


Nathan Winnall

April 9, 2019 at 4:41 pm

Great thankyou for the info, works a treat!!

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Nathan Winnall 1 week, 1 day ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!