FAQ - Hook: php_admin_user_rename

Hook: php_admin_user_rename

4101


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

For example:

$jakdb->query('UPDATE '.DB_PREFIX.'faqcomments SET username = "'.smartsql($defaults['jak_username']).'" WHERE userid = '.smartsql($page2).'');

if you like to include a file:

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