hello
Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : chryzalihi ( 621211) PHP Version : 8.3.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/c/h/r/chryzalihi/www/wp-contentOLD/themes/blossom-fashion/inc/customizer/ |
<?php
/**
* Footer Setting
*
* @package Blossom_Fashion
*/
function blossom_fashion_customize_register_footer( $wp_customize ) {
$wp_customize->add_section(
'footer_settings',
array(
'title' => __( 'Footer Settings', 'blossom-fashion' ),
'priority' => 199,
'capability' => 'edit_theme_options',
)
);
/** Footer Copyright */
$wp_customize->add_setting(
'footer_copyright',
array(
'default' => '',
'sanitize_callback' => 'wp_kses_post',
'transport' => 'postMessage'
)
);
$wp_customize->add_control(
'footer_copyright',
array(
'label' => __( 'Footer Copyright Text', 'blossom-fashion' ),
'section' => 'footer_settings',
'type' => 'textarea',
)
);
$wp_customize->selective_refresh->add_partial( 'footer_copyright', array(
'selector' => '.site-info .copyright',
'render_callback' => 'blossom_fashion_get_footer_copyright',
) );
}
add_action( 'customize_register', 'blossom_fashion_customize_register_footer' );