HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/modernpainters.co.uk/public_html/wp-content/themes/honeypress/inc/customizer/customizer.php
<?php
/************************* Footer Callback function *********************************/

 	function honeypress_footer_callback ( $control )
 	{
		if( true == $control->manager->get_setting ('footer_enable')->value()){
 			return true;
 		}
 		else {
 			return false;
 		}
 	}


/************************* Theme Customizer with Sanitize function *********************************/
function honeypress_theme_option( $wp_customize )
{
	$wp_customize->add_panel('honeypress_theme_panel',
		array(
			'priority' => 2,
			'capability' => 'edit_theme_options',
			'title' => esc_html__('HoneyPress theme options','honeypress')
		)
	);
}
add_action('customize_register','honeypress_theme_option');