WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22891, comment 3


Ignore:
Timestamp:
12/12/2012 07:10:33 PM (5 years ago)
Author:
onetarek
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22891, comment 3

    initial v1  
    44<?php[[BR]]
    55
    6 add_action( 'media_buttons', 'wp_myplugin_media_button',100);
    76function wp_myplugin_media_button() {
    87        echo '<a href="media-upload.php?type=upload&TB_iframe=true&tab=upload" class="thickbox"><img src="http://onetarek.com/wp-content/uploads/2012/12/shortcode_btn.png"  width=15 height=15 /></a>';
    98}[[BR]]
     9add_action( 'media_buttons', 'wp_myplugin_media_button',100);[[BR]]
    1010
    11 ?>
     11?>[[BR]]
     12Thanks Helenyhou