Community Forum

Forum Replies Created

  • Giuseppe Guerrasio
    Participant
    # il y a 1 année et 2 mois

    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
    # il y a 1 année et 2 mois

    Hi,

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

    Please can you helpe me?

2 sujets de 1 à 2 (sur un total de 2)