WordPress.org

Make WordPress Core

Ticket #12881: nav_menus_hook.diff

File nav_menus_hook.diff, 417 bytes (added by ptahdunbar, 8 years ago)

adds a hook to the top of the nav menus admin for WooThemes branding

  • wp-admin/nav-menus.php

     
    327327<div class="wrap">
    328328        <?php screen_icon(); ?>
    329329        <h2><?php esc_html_e('Menus'); ?></h2>
     330       
     331        <?php do_action( 'nav_menus_admin_page' ); ?>
     332       
    330333        <?php
    331334        foreach( $messages as $message ) :
    332335                echo $message . "\n";