[ Index ]

MailPress 544

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

title

Body

[close]

/mp-content/add-ons/ -> MailPress_upload_media.php (source)

   1  <?php
   2  if (class_exists('MailPress') && !class_exists('MailPress_upload_media') && (is_admin()))
   3  {
   4  /*
   5  Plugin Name: MailPress_upload_media
   6  Plugin URI: http://blog.mailpress.org/tutorials/add-ons/upload_media/
   7  Description: New Mail : add upload media button
   8  Version: 5.4.4
   9  */
  10  
  11  class MailPress_upload_media
  12  {
  13  	function __construct()
  14      {
  15          add_filter('MailPress_upload_media',     array(__CLASS__, 'upload_media'), 8, 1);
  16      }
  17  
  18  	public static function upload_media($x)
  19      {
  20          return true;
  21      }
  22  }
  23  new MailPress_upload_media();
  24  }


Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1