As an example, I am trying to override /event-espresso-core-reg/admin_pages/registrations/templates/registration_page_registration_questions.template.php
By creating a file at wp-content/uploads/espresso/templates/registration_page_registration_questions.template.php
But it is still display the plugin version. What am I doing wrong?
Those admin templates are actually not overridable where a template from the /uploads/wp-content/ folder will be automatically checked.
Ideally, you’d use an action or filter hook to make changes. If there isn’t a hook in the location that you need, you can submit a pull request for a filter hook (to change existing content) or an action hook (to add new content) to the admin pages. We invite you to submit that pull request to our github project:
What about it? There are filter hooks within the template, are you looking to change something that’s not wrapped in an apply_filters() function?
Viewing 5 reply threads
The support post ‘How to override /admin_pages templates?’ 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.