PluginProbe
Themify Event Post / 1.3.2
Themify Event Post v1.3.2
1.3.7 trunk 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6
themify-event-post / includes / themify-metabox / themify-metabox.php

themify-metabox.php in Themify Event Post 1.3.2, at includes/themify-metabox/themify-metabox.php

35 lines 1007 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Themify Metabox API
4 Version: 1.0.4
5 Author: Themify
6 Author URI: https://themify.me/
7 Description: Generate custom metaboxes for admin pages easily and efficiently.
8 Text Domain: themify
9 Domain Path: /languages
10 License: GNU General Public License v2.0
11 License URI: http://www.gnu.org/licenses/gpl-2.0.html
12 */
13
14 defined( 'ABSPATH' ) || exit;
15
16 if( ! defined( 'THEMIFY_METABOX_DIR' ) ) {
17 define( 'THEMIFY_METABOX_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
18 }
19 if( ! defined( 'THEMIFY_METABOX_URI' ) ) {
20 define( 'THEMIFY_METABOX_URI', trailingslashit( plugin_dir_url( __FILE__ ) ) );
21 }
22
23 if( ! function_exists( 'themify_metabox_bootstrap' ) ) :
24 /**
25 * Load and bootstrap Themify Metabox API
26 *
27 * @since 1.0
28 */
29 function themify_metabox_bootstrap() {
30 if( ! class_exists( 'Themify_Metabox' ,false) ) {
31 require_once( THEMIFY_METABOX_DIR . 'includes/themify-metabox-core.php' );
32 }
33 }
34 endif;
35 add_action( 'after_setup_theme', 'themify_metabox_bootstrap', 20 );