Skip to main content

Change the Priority of the Metabox

If you would like to change the position of the Video Background Pro metabox, you can achieve this through a filter. Add the function below to the end of your functions.php file. In the $priority variable, define the priority.

* Define Video Background Pros metabox priority
* @since 2.0.0
* @author Push Labs
* @uses apply_filters()
* @return string The location of the metabox used by WordPress
* @link
function themeprefix_vidbgpro_metabox_priority( $priority ) {
* The metabox priority. For more information refer to:
* @link
$priority = 'high';
return $priority;
add_filter( 'vidbgpro_metabox_priority', 'themeprefix_vidbgpro_metabox_priority' );