Gallery Metabox – Change Intro Text

add_filter( 'be_gallery_metabox_intro', 'sample_change_gallery_metabox_intro' );
* Change Gallery Metabox Intro
* @author Bill Erickson
* @link
* @param string $intro
* @return string
function sample_change_gallery_metabox_intro( $intro ) {
$intro = '<p><a href="media-upload.php?post_id=' . $post->ID .'&amp;type=image&amp;TB_iframe=1&amp;width=640&amp;height=715" id="add_image" class="thickbox" title="Add Image">Upload Images</a> | <a href="media-upload.php?post_id=' . $post->ID .'&amp;type=image&amp;tab=gallery&amp;TB_iframe=1&amp;width=640&amp;height=715" id="manage_gallery" class="thickbox" title="Manage Gallery">Manage Gallery</a></p>';
echo $intro;
view raw hosted with ❤ by GitHub

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk