Jump to content

$params form registrant module in hook


cilu

Recommended Posts

Some $params I have from a database, as laszlof wrote, but I still need fullphonenumer. Is there any function to create fullphonenumber from phonenumber and country code?

 

k1ng440:

print_r ($params) no data

print_r ($vars) no data what I look for :(

Link to comment
Share on other sites

Some $params I have from a database, as laszlof wrote, but I still need fullphonenumer. Is there any function to create fullphonenumber from phonenumber and country code?

 

k1ng440:

print_r ($params) no data

print_r ($vars) no data what I look for :(

 

You need to print_r/var_dump the variable being passed to your hook function. If you weren't able to figure this out, I'm afraid that the rest of this will probably confuse you.

 

If its from a registrar module, that information is stored with the registrar. WHMCS doesn't store it at all. You can call domaingetwhois API call to get this information, but the output is going to be different based on the registrar you're using.

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