Jump to content

Soft

New Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Soft

  • Rank
    Junior Member

Recent Profile Visitors

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

  1. Hi, I would like to add Custom Function in my registrar module so I create function like this. (Ref. https://developers.whmcs.com/provisioning-modules/custom-functions/?search=Admin+Alert) /* Custom Registrar Commands Button in Admin Page */ function mymodule_AdminCustomButtonArray() { $buttonarray = array( "My Custom Function" => "myCustomFunction", ); return $buttonarray; } // Custom Function function mymodule_myCustomFunction($params) { $result = "myCustomFunction"; return $result; } I want to show message "myCustomFunction" when click "My Custom Function" button in registrar command section. But it show the message "The changes to the domain were saved successfully" instead. How to return the response message as I want ? Thank you so much in advance for your help.
×
×
  • 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