Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

Blue Cube Email Templates

Beskriuwing

This plugin is intended to be useful more for developers than other types of users.

Have you ever had a client who likes to be able to independently update the content of the emails that your code is sending out programmatically? If so, this plugin might help you make your client happy.

How to use:

When you activate the plugin, it adds a custom post type to your website called “Email Templates”. You can create your templates using this custom post type. Templates can contain placeholders for your code to fill them up with desired values. A placeholder sample would be {USERNAME} or {USER_EMAIL}. Please note, placeholders should not contain lowercase letters.

This plugin creates a global instance of the BlueCube\Email_Template class which is called $bluecube_email_template. Once you have created a template, you can use the sendEmail() method of the instance to send out your emails.

$email_args = array(
    'template_title'    => 'your-template-title',
    'to'                => $email,
    'variables'         => array('username' => 'JohnDoe', 'user_email' => 'test@test.com'),
);
$bluecube_email_template->sendEmail($email_args);

Ynstallaasje

Download and unzip the plugin. Then upload the "bluecube-email-templates" folder to the /wp-content/plugins/ directory (or the relevant directory if your WordPress file structre is different), or you can simply install it using WordPress plugin installer.

Resinsjes

D'r binne gjin resinsjes foar dizze plugin.

Meiwurkers & amp; Untwikkelders

"Blue Cube Email Templates" is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette "Blue Cube Email Templates" yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

1.0

  • This is the first version of the plugin, providing a very simple template system