| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/plugins/youtube-showcase/assets/ext/emd-meta-box/inc/ |
Upload File : |
<?php
add_action( 'admin_init', 'emd_mb_register_meta_boxes' );
/**
* Register meta boxes via a filter
* Advantages:
* - prevents incorrect hook
* - prevents duplicated global variables
* - allows users to remove/hide registered meta boxes
* - no need to check for class existences
*
* @return void
*/
function emd_mb_register_meta_boxes()
{
$meta_boxes = apply_filters( 'emd_mb_meta_boxes', array() );
foreach ( $meta_boxes as $meta_box )
{
new EMD_Meta_Box( $meta_box );
}
}