Warning: This function has been deprecated.

_media_button() WordPress Function

The media_button() function allows you to add a button to the WordPress media popup. The button can be used to insert shortcodes, as well as other content.

_media_button( $title,  $icon,  $type,  $id ) #

This was once used to display a media button.


Description

Now it is deprecated and stubbed.


Top ↑

Source

File: wp-admin/includes/deprecated.php

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


Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.