WordPress at Your Fingertips
function is not described

_media_button() WP 1.0

Deprecated from version 3.5.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

This was once used to display a media button.

Now it is deprecated and stubbed.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

null. Nothing.

Usage

_media_button( $title, $icon, $type, $id );
$title (required)
-
$icon (required)
-
$type (required)
-
$id (required)
-

Changelog

Deprecated 3.5.0

Code of _media_button() WP 5.8.2

function _media_button($title, $icon, $type, $id) {
	_deprecated_function( __FUNCTION__, '3.5.0' );
}