[ Index ]

MailPress 7.2

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

title

Body

[close]

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

   1  <newsletter id='half-day'>
   2  
   3      <descriptions>
   4          <admin><![CDATA[<?php _e('Half Day', 'MailPress'); ?>]]></admin>
   5          <blog><![CDATA[<?php  _e('Half Day newsletter', 'MailPress'); ?>]]></blog>
   6      </descriptions>
   7  
   8      <mail>
   9          <Template>daily</Template>
  10          <subject><![CDATA[<?php printf( __('[%1$s] Half Day 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      <slots>2</slots>    <!-- subdivision in a day : 1, 2, 3, 4, 6, 8, 12, 24 -->
  16  
  17      <processor>
  18          <id>day-1</id>
  19          <threshold>MailPress_half_day</threshold><!-- stored on wordpress options table -->
  20          <args>            <!-- start of the first slot of the day -->
  21              <hour>06</hour>        <!-- [00 to 23] -->
  22              <minute>00</minute>    <!-- [00 to 59] -->
  23          </args>
  24      </processor>
  25  
  26      <scheduler>
  27          <id>day</id>
  28          <args>            <!-- release the newsletter first slot of the day -->
  29              <hour>06</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