[wp-trac] [WordPress Trac] #16124: Strange hook name
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 6 13:17:38 UTC 2011
#16124: Strange hook name
-------------------------+------------------------------
Reporter: F J Kaiser | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version:
Severity: trivial | Resolution: invalid
Keywords: hook |
-------------------------+------------------------------
Changes (by greuben):
* status: new => closed
* resolution: => invalid
Comment:
It's add_action not do_action. do_action names the hook. The hook name is
not future_{$post_type}_future_post_hook, it is future_{$post_type}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16124#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list