Possible code problem on page 161
Function prowp_create_menu is called from the admin_menu hook. In the function it executes an add_action to the admin_init hook. BUT the admin_hook will have already been executed at this time, right? I think that the add_action to the admin_init hook should be outside the function. If not, could someone explain?