Malith Perera Posted August 23, 2022 Share Posted August 23, 2022 hellow How to removed this 3 ? tell me step by step... 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted August 23, 2022 Share Posted August 23, 2022 Hey Malith, There is no exact template to edit for those fields, so a hook will be needed. <?php add_hook('AdminAreaHeadOutput', 1, function($vars) { if ($vars['filename'] == 'clientsservices') { $script = ' <script type="text/javascript"> $(document).ready(function () { $("input[name=\'domain\']").parent().find(".input-group-btn").remove(); }); </script> '; return $script; } }); If you want it to not show on the Domains tab either, the following will do. <?php add_hook('AdminAreaHeadOutput', 1, function($vars) { if ($vars['filename'] == 'clientsservices' || $vars['filename'] == 'clientsdomains') { $script = ' <script type="text/javascript"> $(document).ready(function () { $("input[name=\'domain\']").parent().find(".input-group-btn").remove(); }); </script> '; return $script; } }); 0 Quote Link to comment Share on other sites More sharing options...
Malith Perera Posted August 24, 2022 Author Share Posted August 24, 2022 can you tell me to step it ? 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted August 24, 2022 Share Posted August 24, 2022 3 hours ago, Malith Perera said: can you tell me to step it ? Do you mean install? Just add that code to a php file (e.g. hidedomaindropdown.php) in your includes/hooks folder. 0 Quote Link to comment Share on other sites More sharing options...
Malith Perera Posted August 30, 2022 Author Share Posted August 30, 2022 thanks i add it 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.