Hook: php_admin_usergroup

1331

Use this hook to execute PHP code in the admin/usergroup.php file.

For example:

if (isset($defaults['jak_download'])) {
	$insert .= 'download = "'.$defaults['jak_download'].'", downloadpost = "'.$defaults['jak_downloadpost'].'", downloadpostapprove = "'.$defaults['jak_downloadpostapprove'].'", downloadpostdelete = "'.$defaults['jak_downloadpostdelete'].'", downloadrate = "'.$defaults['jak_downloadrate'].'", downloadmoderate = "'.$defaults['jak_downloadmoderate'].'",'; }

if you like to include a file:

APP_PATH.'plugins/yourplugin/file_to_include.php';