wphooks.info - {$type}_upload_iframe_src

{$type}_upload_iframe_src

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/media.php:
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
	/**
	 * Filters the upload iframe source URL for a specific media type.
	 *
	 * The dynamic portion of the hook name, `$type`, refers to the type
	 * of media uploaded.
	 *
	 * @since 3.0.0
	 *
	 * @param string $upload_iframe_src The upload iframe source URL by type.
	 */
	$upload_iframe_src = apply_filters( "{$type}_upload_iframe_src", $upload_iframe_src );

	return add_query_arg( 'TB_iframe', true, $upload_iframe_src );
}

/**
 * Handles form submissions for the legacy media uploader.
 *
 * @since 2.5.0
 *