View Single Post
  #1 (permalink)  
Old June 13th, 2013, 09:37 AM
lwoods lwoods is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?