Changing the Admin for Support Tickets

I understand that the plugin only sends notifications to the first network admin. However, im the site designer (first admin) and my client (second admin) is the person who needs to access, respond to, and get notifications of support tickets - not me. i tried changing the registration date in phpmyadmin, but im assuming its working off of user ID#, which im a bit afraid to change :slight_smile: do you know how i might accomplish this?

  • drmike
    • DEV MAN’s Mascot

    Not a developer but I play one on TV. :slight_smile:

    Open up the incsub-support.php file for editing and look for this bit:

    function incsub_support_notification_admin_email() {
    	global $wpdb;
    	$admins = get_site_option("site_admins");
    	if ( !empty($admins) ) {
    		// we only need the first one.
    		return $wpdb->get_var("SELECT user_email FROM {$wpdb->users} WHERE user_login = '{$admins[0]}'");
    	} else {
    		// not likely, if so, they have more problems than we can help with. :)
    		return get_site_option("admin_email");

    Change it to this:

    function incsub_support_notification_admin_email() {
         $myadminaddress = "stick your email address in here";
         return $myadminaddress;

    I think that'll work. It should.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.