[wp-trac] [WordPress Trac] #27208: Make add_filter and add_action available in wp-config.php
WordPress Trac
noreply at wordpress.org
Tue Feb 25 16:44:58 UTC 2014
#27208: Make add_filter and add_action available in wp-config.php
-------------------------------+------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 3.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by Denis-de-Bernardy):
Replying to [comment:2 SergeyBiryukov]:
It would be *really* neat if this made it in WP 2.9, btw. I was scratching
my head the other day on how to register an action from `wp-config.php` so
as to boot a Symfony Kernel on the `init` hook without resorting to
manipulating `$wp_filter` directly, and it then dawned on me that `wp-
settings.php` uses `require` instead of `require_once` to include
`plugin.php`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27208#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list