<?php
/**
 * Party Planner Bell metabox file.
 *
 * This is the template that includes all the other files for metaboxes of Party Planner Bell theme
 *
 * @package Party Planner Bell
 * @since Party Planner Bell 0.1
 */
// Include Post subtitle meta
require get_template_directory() . '/inc/metabox/video-url.php'; 




if ( ! function_exists( 'party_planner_bell_custom_meta' ) ) : 
    /**
     * Adds meta box to the post editing screen
     */
    function party_planner_bell_custom_meta() {
        $post_type = array( 'post', 'page' );

        // POST Subtitle 
        add_meta_box( 'party_planner_bell_video_url', esc_html__( 'Video Links', 'party-planner-bell' ), 'party_planner_bell_video_url_callback', $post_type );
               
    }
endif;
add_action( 'add_meta_boxes', 'party_planner_bell_custom_meta' );



