[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:00:37 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
Component:  General                              |  Review
 Severity:  normal                               |    Version:
  Focuses:  accessibility, template,             |   Keywords:
  performance                                    |
-------------------------------------------------+-------------------------
 Even being a hardcore WordPress developer, we all have had to use one of
 those free or premium theme to make some websites quick and hassle-free.
 In most cases, we place our custom patches/hooks on our theme's
 functions.php in order to achieve the site-specific requirements. That’s
 literally modifying a theme file. It will get replaced when the theme is
 updated. I think there should be a better way to handle this. Introducing
 a global custom-functions file that's independent of themes and plugins
 would fix the issue. I would really love your thoughts on this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40367>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list