Remitur Posted January 15, 2023 Share Posted January 15, 2023 Hello. Does exist any hook useful to intercept client contact editing page in admin area ( /admin/clientscontacts.php?userid=1234&contactid=5678 ) ? What I need is to inject HTML code in as (as possible, i.e., with AdminAreaClientSummaryPage I guess that AdminAreaPage could be used, but AdminAreaPage "accepts a return of key/value pairs to be made available to the template layer as additional template variables"; so to use it should also edit the related admin area .tpl file... but I can't understand where this .tpl file is hidden... 0 Quote Link to comment Share on other sites More sharing options...
AladdinJ Posted January 16, 2023 Share Posted January 16, 2023 <?php add_hook('AdminAreaClientSummaryPage', 1, function($vars) { return 'This message will be output on the Client Summary page. I can add HTML here'; }); I think this hook what you need 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted January 16, 2023 Author Share Posted January 16, 2023 10 hours ago, AladdinJ said: I think this hook what you need Nope, because AdminAreaClientSummaryPage works only on /admin/clientssummary.php , while I need to interact with /admin/clientscontacts.php ... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.