• Hi Jason,

    Just wondering if there are hooks / filters available that can be utilised by other plugins.

    For example, I have a plugin which is a helpdesk / support centre. There are multiple users who are agents, such as Agent1, Agent2, … , AgentN. Each user has an email address, all on the same domain, such as [email protected], [email protected], … , [email protected]

    As each agent is on the same domain the mail server details would be the same for each user, what I am hoping to be able to do is to change the Username and Password for Postman SMTP according to the user.

    How I envisage this may work:

    apply_filters( 'postmansmtp_username', $username );
    apply_filters( 'postmansmtp_password', $password );
    wp_mail( $to, $subject, $message, $headers, $attachments );

    Look forward to your reply.

    https://ww.wp.xz.cn/plugins/postman-smtp/

The topic ‘Available Hooks / Filters’ is closed to new replies.