[wp-trac] [WordPress Trac] #40367: Proposal for a new functions file to add and manage custom hooks.
WordPress Trac
noreply at wordpress.org
Wed Apr 5 07:03:13 UTC 2017
#40367: Proposal for a new functions file to add and manage custom hooks.
-----------------------------+------------------------------
Reporter: adhun | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Changes (by swissspidy):
* focuses: accessibility, template, performance =>
* component: General => Themes
Comment:
> I think there should be a better way to handle this.
Have you tried using a child theme? That's what they were built for.
> Introducing a global custom-functions file that's independent of themes
and plugins would fix the issue.
Well, there's [https://wordpress.org/news/2003/12/new-feature-my-hacksphp
/my-hacks.php] (please don't use that one though!)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40367#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list