_media_button

This was once used to display a media button.

Description

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

Now it is deprecated and stubbed.

Parameters (4)

0. $title
The title.
1. $icon
The icon.
2. $type
The type.
3. $id
The id.

Usage

  1. if ( !function_exists( '_media_button' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/deprecated.php'; 
  3.  
  4. // The title. 
  5. $title = null; 
  6.  
  7. // The icon. 
  8. $icon = null; 
  9.  
  10. // The type. 
  11. $type = null; 
  12.  
  13. // The id. 
  14. $id = null; 
  15.  
  16. // NOTICE! Understand what this does before running. 
  17. $result = _media_button($title, $icon, $type, $id); 
  18.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/deprecated.php  
  1. function _media_button($title, $icon, $type, $id) { 
  2. _deprecated_function( __FUNCTION__, '3.5.0' );