Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Thanks for your contribution.

    Use filter hooks.

    /** ==================================================
    * Filter for message with mail.
    *
    * @param string $message message.
    * @param string $url url.
    * @param string $exp_date_time expiration date and time.
    */
    add_filter(
    'magic_login_mail_message',
    function( $message, $url, $exp_date_time ) {

    $message = 'Your message';

    return $message;
    },
    10,
    3
    );
    Thread Starter Natascha Vantuykom

    (@vantuykomn)

    Hi,

    tried that, but it causes fatal error.

    Is it possible to replace site title with page title in the login email?

    kind regards
    Natascha

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.