Jump to content

Where i can create a custom function which will available everywhere


Saroha

Recommended Posts

Hi Everyone,
               I want to create a function that will be available on every page in WHMCS. Please tell me where I can create that function because if I create a custom function and include it in my custom pages then it's not available on WHMCS default pages. I can use hook because I want to use it on every page with output on the .tpl output in the middle of the page at my specific section. 
For example. I want to add some extra details in my menu which is available on my custom pages as well as default pages.
but I want to do it without enabling/using the PHP tag in the template file.

Edited by saroha
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated