HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/zeusxp5/lrliberia.com/wp-content/themes/lifttruck/inc/meta-box.php
<?php 
add_action( 'init', function() {

	register_post_meta( 'page', 'wd_custom_header_options', [
		'show_in_rest' => true,
		'single' => true,
		'type' => 'string',
    'auth_callback'     => function() {
        return current_user_can( 'edit_posts' );
    }
	] );
	register_post_meta( 'page', 'wd_sticky_header', [
		'show_in_rest' => true,
		'single' => true,
		'type' => 'boolean',
    'auth_callback'     => function() {
        return current_user_can( 'edit_posts' );
    }
	] );
	register_post_meta( 'page', 'wd_transparent_header', [
		'show_in_rest' => true,
		'single' => true,
		'type' => 'boolean',
    'auth_callback'     => function() {
        return current_user_can( 'edit_posts' );
    }
	] );
	register_post_meta( 'page', 'wd_header_cap', [
		'show_in_rest' => true,
		'single' => true,
		'type' => 'boolean',
    'auth_callback'     => function() {
        return current_user_can( 'edit_posts' );
    }
	] );
 
	
} );