Current File : /home/getxxhzo/tinyrnd.com/wp-content/plugins/flyweb-common/meta-box/meta-box.php |
<?php
/**
* Plugin Name: Meta Box
* Plugin URI: https://metabox.io
* Description: Create custom meta boxes and custom fields in WordPress.
* Version: 5.3.3
* Author: MetaBox.io
* Author URI: https://metabox.io
* License: GPL2+
* Text Domain: meta-box
* Domain Path: /languages/
*
* @package Meta Box
*/
if ( defined( 'ABSPATH' ) && ! defined( 'RWMB_VER' ) ) {
register_activation_hook( __FILE__, 'rwmb_check_php_version' );
/**
* Display notice for old PHP version.
*/
function rwmb_check_php_version() {
if ( version_compare( phpversion(), '5.3', '<' ) ) {
die( esc_html__( 'Meta Box requires PHP version 5.3+. Please contact your host to upgrade.', 'meta-box' ) );
}
}
require_once dirname( __FILE__ ) . '/inc/loader.php';
$rwmb_loader = new RWMB_Loader();
$rwmb_loader->init();
add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
$prefix = '_cmb_';
// Open Code
// End Code
return $meta_boxes;
});
}