Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Frumph

By: a guest on Jun 18th, 2010  |  syntax: None  |  size: 0.48 KB  |  hits: 156  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. add_action('admin_menu', 'comicpress_options_setup');
  2.  
  3. function comicpress_options_setup() {
  4.         $pagehook = add_submenu_page('themes.php', 'comicpress-options', __('ComicPress Options','comicpress'), 10, 'comicpress-options', 'comicpress_admin_options');
  5.         add_action('admin_head-' . $pagehook, 'comicpress_admin_page_head');
  6.         add_action('admin_print_scripts-' . $pagehook, 'comicpress_admin_print_scripts');
  7.         add_action('admin_print_styles-' . $pagehook, 'comicpress_admin_print_styles');
  8. }