定制 danielbachhuber/mandrill-wp-mail 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

danielbachhuber/mandrill-wp-mail

Composer 安装命令:

composer require danielbachhuber/mandrill-wp-mail

包简介

wp_mail() drop-in for Mandrill

关键字:

README 文档

README

A simple drop-in replacement for WordPress' wp_mail function.

How to Use

To implement this drop-in, add it to your mu-plugins directory. In order for it to work, you must define your Mandrill API key. The easiest way to do this is to add it to your wp-config.php file like so:

define( 'MANDRILL_API_KEY', 'your-api-key' );

If you've cloned this repo into your mu-plugins directory as the full folder (e.g. wp-content/mu-plugins/mandrill-wp-mail, you'll need to make sure you load the plugin files:

<?php

require_once dirname( __FILE__ ) . '/mandrill-wp-mail/mandrill-wp-mail.php';

A Note About Composer

This plugin can be installed and managed using Composer; however, because of the way Composer and mu-plugins work, you'll need a bit of a workaround to make sure the plugin is loaded. For more information about how to use this drop-in with Composer, read this blog post by Richard Tape.

统计信息

  • 总下载量: 606
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 64
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 64
  • Watchers: 9
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-05-12