Created
July 15, 2017 22:01
-
-
Save blakewilson/224f8fe14f73beb61e2fb70976f0455d to your computer and use it in GitHub Desktop.
Video Background Pro - Metabox Priority Filter
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
<?php | |
/** | |
* Define Video Background Pro's metabox priority | |
* | |
* @since 2.0.0 | |
* @author Push Labs | |
* @uses apply_filters() | |
* @return string The location of the metabox used by WordPress | |
* @link https://developer.wordpress.org/reference/functions/add_meta_box/ | |
*/ | |
function themeprefix_vidbgpro_metabox_priority( $priority ) { | |
/** | |
* The metabox priority. For more information refer to: | |
* @link https://developer.wordpress.org/reference/functions/add_meta_box/ | |
*/ | |
$priority = 'high'; | |
return $priority; | |
} | |
add_filter( 'vidbgpro_metabox_priority', 'themeprefix_vidbgpro_metabox_priority' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment