melloman Posted March 10, 2016 Share Posted March 10, 2016 I am in the process of setting up a PreAdminServiceEdit hook. How can I set one of the values (e.g. the dedicated IP) through the hook before save? This is what I have so far: function change_dedicated_ip($vars) { $vars['dedicatedip'] = "101.101.101.101"; } add_hook("PreAdminServiceEdit",1,"change_dedicated_ip"); 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.