Make WordPress Core


Ignore:
Timestamp:
10/27/2013 06:36:37 PM (11 years ago)
Author:
DrewAPicture
Message:

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

Props ninio, kpdesign.
Fixes #25723.

File:
1 edited

Legend:

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

    r25616 r25951  
    253253
    254254    } else {
    255         do_action('update-custom_' . $action);
     255        /**
     256         * Fires when a custom plugin or theme update request is received.
     257         *
     258         * The dynamic portion of the hook name, $action, refers to the action
     259         * provided in the request for wp-admin/update.php. Can be used to
     260         * provide custom update functionality for themes and plugins.
     261         *
     262         * @since 2.8.0
     263         */
     264        do_action( "update-custom_{$action}" );
    256265    }
    257266}
Note: See TracChangeset for help on using the changeset viewer.