static function display_allowed() { $flag = true; $flag = apply_filters('before_rtmedia_gallery_display', $flag); return $flag; }