[wp-trac] [WordPress Trac] #12563: New action on body open

WordPress Trac noreply at wordpress.org
Wed Mar 27 22:13:56 UTC 2019


#12563: New action on body open
--------------------------------------+------------------------------
 Reporter:  joostdevalk               |       Owner:  adamsilverstein
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  5.2
Component:  Bundled Theme             |     Version:  3.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:  template
--------------------------------------+------------------------------
Changes (by lgedeon):

 * keywords:  needs-dev-note needs-patch => has-patch needs-dev-note


Comment:

 Should we add this to functions.php?

 {{{#!php
 <?php
 if ( ! function_exists( 'wp_body_open' ) ) {
         function wp_body_open() {
                 do_action( 'wp_body_open' );
         }
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/12563#comment:74>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list