Wrox Programmer Forums
BOOK: Professional WordPress: Design and Development, 2nd Edition
This is the forum to discuss the Wrox book Professional WordPress: Design and Development, 2nd Edition by Brad Williams, David Damstra, Hal Stern; ISBN: 978-1-1184-4227-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WordPress: Design and Development, 2nd Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 13th, 2013, 09:37 AM
Registered User
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?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to save html page source code? Jaymond Flurrie Access VBA 2 July 2nd, 2019 06:04 PM
Vbscript Code Problem - Click on Activate open windows (web page) yitch VBScript 0 January 30th, 2013 09:20 AM
chapter 2 - page 41 problem creating the page.. jorjiana BOOK: Beginning Oracle Application Express ISBN: 9780470388372 2 August 22nd, 2009 04:25 AM
Master Page Method: Code-Behind for Content Page kwilliams ASP.NET 2.0 Professional 3 June 2nd, 2008 12:57 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.