Jump to content

cesarlopes

Member
  • Posts

    3
  • Joined

  • Last visited

About cesarlopes

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cesarlopes's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I got it to retrieve all the values, but did not return the name of the custom fields $clientFields = $Client->customFieldValues()->get(); Could someone help me? I think I need to use this other class, but I didn't quite understand how to relate the client object to it. https://classdocs.whmcs.com/7.9/WHMCS/CustomField.html
  2. Hello, I would like to know how to use the CustomField or Client Class and obtain all registered custom fields and their values. I tried the code below but didn't get any results: <?php use WHMCS\User\Client; use \WHMCS\CustomField; require_once __DIR__ . '/../../../init.php'; $Client = Client::find('110'); //user id example $clientFields = $Client->customFieldValues; print_r($clientFields);
×
×
  • 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