<?php | |
add_filter( 'be_gallery_metabox_intro', 'sample_change_gallery_metabox_intro' ); | |
/** | |
* Change Gallery Metabox Intro | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/code/gallery-metabox-change-intro-text | |
* | |
* @param string $intro | |
* @return string | |
*/ | |
function sample_change_gallery_metabox_intro( $intro ) { | |
$intro = '<p><a href="media-upload.php?post_id=' . $post->ID .'&type=image&TB_iframe=1&width=640&height=715" id="add_image" class="thickbox" title="Add Image">Upload Images</a> | <a href="media-upload.php?post_id=' . $post->ID .'&type=image&tab=gallery&TB_iframe=1&width=640&height=715" id="manage_gallery" class="thickbox" title="Manage Gallery">Manage Gallery</a></p>'; | |
echo $intro; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters