Make WordPress Core


Ignore:
Timestamp:
05/26/2019 10:47:23 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Improve documentation for some more variadic functions.

Fixes #37402

File:
1 edited

Legend:

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

    r45334 r45450  
    477477
    478478/**
    479  * Adds the iframe to display content for the media upload page
     479 * Outputs the iframe to display the media upload page.
    480480 *
    481481 * @since 2.5.0
     
    483483 * @global int $body_id
    484484 *
    485  * @param string|callable $content_func
    486  */
    487 function wp_iframe( $content_func /* ... */ ) {
     485 * @param callable $content_func Function that outputs the content.
     486 * @param mixed    ...$args      Optional additional parameters to pass to the callback function when it's called.
     487 */
     488function wp_iframe( $content_func ) {
    488489    _wp_admin_html_begin();
    489490    ?>
Note: See TracChangeset for help on using the changeset viewer.