apply_filters( ‘media_upload_form_url’, string $form_action_url, string $type )

In this article

Filters the media upload form action URL.

Parameters

$form_action_urlstring
The media upload form action URL.
$typestring
The type of media. Default 'file'.

Source

$form_action_url = apply_filters( 'media_upload_form_url', $form_action_url, $type );

Changelog

VersionDescription
2.6.0Introduced.

User Contributed Notes

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