예제 #1
0
 /**
  * Initialises actions and filters.
  */
 public static function init()
 {
     if (self::$_initialised) {
         return;
     }
     self::$_initialised = true;
     add_filter("the_content", array("Medium_Site", "the_content"), 100);
 }
 /**
  * Initialises actions and filters.
  */
 public static function init()
 {
     if (self::$_initialised) {
         return;
     }
     self::$_initialised = true;
     add_filter("the_content", array("Medium_Site", "the_content"), 10);
     add_shortcode("medium_cross_link", array("Medium_Site", "shortcode_cross_link"));
 }