base_url = get_option('home').'/'.Str_Replace("\\", '/', SubStr( RealPath(DirName(__FILE__)), Strlen(ABSPATH) )); Add_Filter ('post_gallery', Array($this, 'Filter'), 10, 2 ); Add_Action ('admin_head', Array($this, 'AddAdminStyleSheet')); } Function Filter ($_, $attr){ GLOBAL $post; $attachments = get_children(Array( 'post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order' )); $code = ''; return $code; } Function AddAdminStyleSheet(){ Echo ''; } } /* End of File */