function post_header_footer_tronic_start() { if (is_admin()) { $post_footer_editor = new Post_Header_Footer_Tronic_Editor_Footer(); $post_notice = new TutsPlus_Post_Notice($post_editor); } else { $post_notice = new TutsPlus_Post_Notice_Display(); } $post_notice->initialize(); }
function tutsplus_post_notice_start() { if (is_admin()) { $post_editor = new TutsPlus_Post_Notice_Editor(); $post_notice = new TutsPlus_Post_Notice($post_editor); } else { $post_notice = new TutsPlus_Post_Notice_Display(); } $post_notice->initialize(); }