HEX
Server: LiteSpeed
System: Linux server.zepintelhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: enamadmin (1026)
PHP: 8.2.30
Disabled: exec,system,passthru,shell_exec,proc_open,popen,apache_child_terminate
Upload Files
File: /home/enamadmin/public_html/wp-content/plugins/tp-portfolio/libraries/meta-boxes/init.php
<?php
add_action('admin_init', 'thim_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 thim_register_meta_boxes()
{
	$meta_boxes = apply_filters('thim_meta_boxes', array());
	foreach ($meta_boxes as $meta_box) {
		new THIM_Meta_Box($meta_box);
	}
}