BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 4
    Meet on #51390

    Thanks Ravi and Brajesh
    For a great support

  • Participant
    Level: Initiated
    Posts: 4
    Meet on #51355

    And also I want to trigger an email if it is logged in with the new ip

  • Participant
    Level: Initiated
    Posts: 4
    Meet on #51354

    // For filtering user email message.
    add_filter( ‘wpuln_successful_login_user_email_message’, function ( $message, $user ) {
    return $message;
    }, 10, 2 );

    function custom_login_email_message( $message, $user ) {
    // Modify the $message as needed
    $modified_message = ‘<p>New Content</p>’;
    return $modified_message;
    }
    add_filter( ‘wpuln_successful_login_user_email_message’, ‘custom_login_email_message’, 10, 2 );

    I am using like this so I also need to send
    // Additional headers
    $headers = array(
    ‘Content-Type: text/html; charset=UTF-8’,
    );

    How to do that

  • Participant
    Level: Initiated
    Posts: 4
    Meet on #51317
    This reply has been marked as private.