Jump to content

About Whmcs Hooks


Msonliy

Recommended Posts

Hello !

I am a new php developer and I have a question. I'm developing a WHMCS Theme. But I'm new to PHP and I know the basics of Whmcs.

 For example, I want to get the following output somewhere I want in my custom theme. I don't know how to do this. How can I get the codes I wrote with Hooks into the html field I want?

I really need the help of a helpful person.

Thanks...

<?php

add_hook('ClientAreaPage', 1, function($vars) {

   print_r($vars['announcements']);

});

 

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