WordPress.org

Plugin Directory

Changeset 1780846


Ignore:
Timestamp:
12/04/17 16:04:13 (7 weeks ago)
Author:
bastho
Message:

Update readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eelv-newsletter/trunk/readme.txt

    r1659958 r1780846  
    44Tags: newsletter, email, tracking, addressbook, mailing, contacts 
    55Requires at least: 3.8 
    6 Tested up to: 4.7.5 
     6Tested up to: 4.9.1 
    77Stable tag: /stable 
    88License: GPLv2 
     
    5353> 
    5454 
    55 Links will be automaticly created with the e-mail address of the receipient. If the link is broken, with not enougth datas, a form will be displayed to complete it. 
     55Links will be automaticly created with the e-mail address of the recipient. If the link is broken, with not enougth datas, a form will be displayed to complete it. 
    5656 
    5757 
     
    7070Use theses hooks to use any external address book 
    7171 
    72 To hook into the pre-sending form and and add your receipients selector, use : 
     72To hook into the pre-sending form and and add your recipients selector, use : 
    7373`<?php 
    74 add_action('eelv_newsletter_select_receipients','my_receipeints_select_function'); 
    75 function my_receipeints_select_function(){ 
    76     echo'<input type="checkbox" name="my_receipeints" value="my_receipeints"> My receipeints'; 
     74add_action('eelv_newsletter_select_recipients','my_recipients_select_function'); 
     75function my_recipients_select_function(){ 
     76    echo'<input type="checkbox" name="my_recipients" value="my_recipients"> My recipients'; 
    7777} 
    7878?> 
     
    8181To parse the query and correctly add emails to the queue, use : 
    8282`<?php 
    83 add_filter('eelv_newsletter_parse_receipients','my_receipeints_parse_function'); 
    84 function my_receipeints_parse_function(){ 
    85     if(isset($_GET['my_receipeints'])){ 
     83add_filter('eelv_newsletter_parse_recipients','my_recipients_parse_function'); 
     84function my_recipients_parse_function(){ 
     85    if(isset($_GET['my_recipients'])){ 
    8686        return 'first@email.dom,second@email.com'; 
    8787    } 
     
    9090` 
    9191 
     92Also usefull: `add_action('eelv_newsletter_addressbook_list')` 
     93 
    9294= WP CLI Support = 
    9395 
    94 Sending to huge list of receipients can be done over wp-cli. 
     96Sending to huge list of recipients can be done over wp-cli. 
    9597 
    9698`wp newsletter send` 
     
    127129 
    128130== Changelog == 
     131 
     132= 4.7 = 
     133Release date: 2017-12 
     134 
     135- Adds `eelv_newsletter_addressbook_list` action hook 
     136- Code refactoring 
    129137 
    130138= 4.6.1 = 
     
    162170Add action `eelv_newsletter_editor_variables` 
    163171Add filter `eelv_newsletter_content($content, email, $wp_user_datas, $nl_id)` 
    164 Add `$archive` parameter to `eelv_newsletter_parse_receipients($contacts)` filter 
     172Add `$archive` parameter to `eelv_newsletter_parse_recipients($contacts)` filter 
    165173Display date within local date and time format in sending options page 
    166174Fix untranslated strings 
     
    355363 
    356364= 3.6.1 = 
    357 * Fix : Important bug fix with role selection for receipients 
     365* Fix : Important bug fix with role selection for recipients 
    358366* Add : Add addressing possibility with `login` values 
    359367* Fix : French translation 
Note: See TracChangeset for help on using the changeset viewer.