/** * Defines the Shopp admin page and menu structure * * @since 1.1 * * @return void **/ public function menu() { if (!defined('WP_ADMIN')) { return; } $this->Admin = new ShoppAdmin(); $this->Admin->menus(); do_action('shopp_admin_menu'); }