# themify-event-post/1.3.2/includes/themify-metabox/themify-metabox.php

Themify Event Post, version 1.3.2. 35 lines.

- Page: https://pluginprobe.com/plugins/themify-event-post/1.3.2/code/includes/themify-metabox/themify-metabox.php
- Raw: https://pluginprobe.com/plugins/themify-event-post/1.3.2/raw/includes/themify-metabox/themify-metabox.php
- Modified: 2024-05-30T22:01:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/themify-event-post/1.3.2/code/includes/themify-metabox/themify-metabox.php#L10-L20`.

```php
<?php
/*
Plugin Name:  Themify Metabox API
Version:      1.0.4 
Author:       Themify
Author URI:   https://themify.me/
Description:  Generate custom metaboxes for admin pages easily and efficiently.
Text Domain:  themify
Domain Path:  /languages
License:      GNU General Public License v2.0
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

defined( 'ABSPATH' ) || exit;

if( ! defined( 'THEMIFY_METABOX_DIR' ) ) {
	define( 'THEMIFY_METABOX_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
}
if( ! defined( 'THEMIFY_METABOX_URI' ) ) {
	define( 'THEMIFY_METABOX_URI', trailingslashit( plugin_dir_url( __FILE__ ) ) );
}

if( ! function_exists( 'themify_metabox_bootstrap' ) ) :
/**
 * Load and bootstrap Themify Metabox API
 *
 * @since 1.0
 */
function themify_metabox_bootstrap() {
	if( ! class_exists( 'Themify_Metabox' ,false) ) {
		require_once( THEMIFY_METABOX_DIR . 'includes/themify-metabox-core.php' );
	}
}
endif;
add_action( 'after_setup_theme', 'themify_metabox_bootstrap', 20 );
```
