public function filter_moretag($more_link, $more_link_text = "More")
 {
     $moretag = SwpmSettings::get_instance()->get_value('enable-moretag');
     if (empty($moretag)) {
         return $more_link;
     }
     $acl = SwpmAccessControl::get_instance();
     global $post;
     return $acl->filter_post_with_moretag($post->ID, $more_link, $more_link_text);
 }
 public static function get_instance()
 {
     self::$_this = empty(self::$_this) ? new SwpmAccessControl() : self::$_this;
     return self::$_this;
 }
 public function filter_content($content)
 {
     if (is_preview() || is_admin()) {
         //Do not apply filtering for admin side viewing or preview page viewing.
         return $content;
     }
     $acl = SwpmAccessControl::get_instance();
     global $post;
     return $acl->filter_post($post, $content);
 }