Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

I wanna add new tab clientarea in whmcs

<?php

add_hook('ClientAreaProductDetailsOutput', 1, function($service) {
    if (!is_null($service)) {
        $orderID = $service['service']->orderId;
        return 'OrderID: ' . $orderID;
    }
    return '';
});
Source by developers.whmcs.com #
 
PREVIOUS NEXT
Tagged: #I #wanna #add #tab #clientarea #whmcs
ADD COMMENT
Topic
Name
1+4 =