Make WordPress Core


Ignore:
Timestamp:
10/08/2013 08:26:25 PM (12 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/widgets.php.

Props r3df, kpdesign.
Fixes #25501.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/widgets.php

    r25616 r25734  
    3535}
    3636
     37/**
     38 * Fires early before the Widgets administration screen loads, after scripts are enqueued.
     39 *
     40 * @since 2.2.0
     41 */
    3742do_action( 'sidebar_admin_setup' );
    3843
     
    316321<?php } ?>
    317322
    318 <?php do_action( 'widgets_admin_page' ); ?>
     323<?php
     324/**
     325 * Fires before the Widgets administration page content loads.
     326 *
     327 * @since 3.0.0
     328 */
     329do_action( 'widgets_admin_page' ); ?>
    319330
    320331<div class="widget-liquid-left">
     
    397408
    398409<?php
     410
     411/**
     412 * Fires after the available widgets and sidebars have loaded, before the admin footer.
     413 *
     414 * @since 2.2.0
     415 */
    399416do_action( 'sidebar_admin_page' );
    400417require_once( ABSPATH . 'wp-admin/admin-footer.php' );
Note: See TracChangeset for help on using the changeset viewer.