Community Forum

Forum Replies Created

  • Giuseppe Guerrasio
    Participant
    # 6 months, 3 weeks ago

    PS I use this code:

    /**
    * Custom admin notifications recipients
    *
    * @param $recipients array Actual list of recipients that will receive admin notifications
    *
    * @return int[] admin recipients IDs
    */
    function wpca_customize_admin_notifications_recipients($recipients) {

    // This line will add new recipient to the list, with user ID 8, which will receive all admin notifications
    $recipients[] = 8;

    return $recipients;
    }
    add_filter(‘cuar/notifications/administrator-recipient-ids’, ‘wpca_customize_admin_notifications_recipients’);

    Giuseppe Guerrasio
    Participant
    # 6 months, 3 weeks ago

    Hi,

    i dit it with custom plugin, but it continue to not works.

    Please can you helpe me?

Viewing 2 posts - 1 through 2 (of 2 total)