[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-content/advanced/newsletters/post/ -> monthly.xml (source)

   1  <newsletter id='monthly'>
   2  
   3      <descriptions>
   4          <admin><![CDATA[<?php _e('Monthly', 'MailPress'); ?>]]></admin>
   5          <blog><![CDATA[<?php  _e('Monthly newsletter', 'MailPress'); ?>]]></blog>
   6      </descriptions>
   7  
   8      <mail>
   9          <Template>monthly</Template>
  10          <subject><![CDATA[<?php printf( __('[%1$s] Monthly newsletter', 'MailPress'), get_bloginfo('name')); ?>]]></subject>
  11          <the_post_types><![CDATA[<?php echo $_post_type->labels->name; ?>]]></the_post_types>
  12          <the_post_type><![CDATA[<?php echo $_post_type->labels->singular_name; ?>]]></the_post_type>
  13      </mail>
  14  
  15      <processor>
  16          <id>month-1</id>
  17          <threshold>MailPress_monthly</threshold><!-- stored on wordpress options table -->
  18          <args>            <!-- start of the month -->
  19              <day>1</day>        <!-- [1, 2, ..., 28 / 0 : end of month] (default : 1) -->
  20              <hour>00</hour>        <!-- [00 to 23] -->
  21              <minute>00</minute>    <!-- [00 to 59] -->
  22          </args>
  23      </processor>
  24  
  25      <scheduler>
  26          <id>month</id>
  27          <args>            <!-- release the newsletter -->
  28              <day>1</day>        <!-- [1, 2, ..., 28 / 0 : end of month] (default : 1) -->
  29              <hour>00</hour>        <!-- [00 to 23] -->
  30              <minute>00</minute>    <!-- [00 to 59] -->
  31          </args>
  32      </scheduler>
  33  
  34  </newsletter>


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1