From f0ddd2e2c2cbaa5154b22e362e2aa5e1e915b180 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sat, 23 Jul 2022 08:58:42 +0000 Subject: [PATCH] Docs: Add function description and `@since` mention for `get_upload_iframe_src()`. Follow-up to [14015]. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53766 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/media.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index ae0a6bc7ea..05832b2d5b 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -674,11 +674,16 @@ function media_buttons( $editor_id = 'content' ) { } /** + * Retrieves the upload iframe source URL. + * + * @since 3.0.0 + * * @global int $post_ID - * @param string $type - * @param int $post_id - * @param string $tab - * @return string + * + * @param string $type Media type. + * @param int $post_id Post ID. + * @param string $tab Media upload tab. + * @return string Upload iframe source URL. */ function get_upload_iframe_src( $type = null, $post_id = null, $tab = null ) { global $post_ID;