Make WordPress Core


Ignore:
Timestamp:
12/07/2023 03:12:25 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for Custom_Image_Header and Custom_Background constructors.

Follow-up to [4673], [8656], [12890], [13041].

Props faisalahammad, cadic.
Fixes #58049.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-custom-image-header.php

    r56929 r57169  
    4848
    4949    /**
    50      * Constructor - Register administration header callback.
     50     * Constructor - Registers administration header callback.
    5151     *
    5252     * @since 2.1.0
    53      * @param callable $admin_header_callback
    54      * @param callable $admin_image_div_callback Optional custom image div output callback.
     53     *
     54     * @param callable $admin_header_callback    Administration header callback.
     55     * @param callable $admin_image_div_callback Optional. Custom image div output callback.
     56     *                                           Default empty string.
    5557     */
    5658    public function __construct( $admin_header_callback, $admin_image_div_callback = '' ) {
Note: See TracChangeset for help on using the changeset viewer.