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!!

The support post ‘Override Template Tags FIle’ 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.

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: closed

Updated by  Nathan Winnall 2 months, 1 week ago ago

Topic Tags

Notifications

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