W3cubDocs

/WordPress

apply_filters( 'media_upload_form_url', string $form_action_url, string $type )

Filters the media upload form action URL.

Parameters

$form_action_url

(string) The media upload form action URL.

$type

(string) The type of media. Default 'file'.

Source

File: wp-admin/includes/media.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_upload_form_url