press_this_media_buttons

The timeline below displays how wordpress function press_this_media_buttons has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 3.7

function press_this_media_buttons()
{
    _e('Add:');
    if (current_user_can('upload_files')) {
        ?>
				<a id="photo_button" title="<?php 
        esc_attr_e('Insert an Image');
        ?>" href="#">
				<img alt="<?php 
        esc_attr_e('Insert an Image');
        ?>" src="<?php 
        echo esc_url(admin_url('images/media-button-image.gif?ver=20100531'));
        ?>"/></a>
				<?php 
    }
    ?>
			<a id="video_button" title="<?php 
    esc_attr_e('Embed a Video');
    ?>" href="#"><img alt="<?php 
    esc_attr_e('Embed a Video');
    ?>" src="<?php 
    echo esc_url(admin_url('images/media-button-video.gif?ver=20100531'));
    ?>"/></a>
			<?php 
}