mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
6db7bb8dcf
commit
f0ddd2e2c2
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user