apply_filters( “{$type}_upload_iframe_src”, string $upload_iframe_src )

Filters the upload iframe source URL for a specific media type.

Description

The dynamic portion of the hook name, $type, refers to the type of media uploaded.

Possible hook names include:

  • image_upload_iframe_src
  • media_upload_iframe_src

Parameters

$upload_iframe_srcstring
The upload iframe source URL.

Source

$upload_iframe_src = apply_filters( "{$type}_upload_iframe_src", $upload_iframe_src );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.