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
This commit is contained in:
Jb Audras 2022-07-23 08:58:42 +00:00
parent 6db7bb8dcf
commit f0ddd2e2c2

View File

@ -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;