Found function linked to a button click

caino79

Member
Hi guys,

how can i find a function linked to a button click. For example the "Save template modification" button on click redirect to link "/forum/admin.php?template-modifications/1/save". How can i find the function on php code called by this link?
Thanks.
 
It's a controller action, so you'd expect to see that in library/XenForo/ControllerAdmin.

It's a public template modification so you would be looking for TemplateModification.php.

That class extends TemplateModificationAbstract.php.

The specific code for saving a template modification would be public function actionSave() (because of /save/ in the url) and may appear in TemplateModification.php and/or TemplateModificationAbstract.php.
 
Back
Top Bottom