field, array( 'button_title' => esc_html__( 'Add Icon', 'sakurairo_csf' ), 'remove_title' => esc_html__( 'Remove Icon', 'sakurairo_csf' ), ) ); echo $this->field_before(); $nonce = wp_create_nonce( 'csf_icon_nonce' ); $hidden = ( empty( $this->value ) ) ? ' hidden' : ''; echo '
'; echo $this->field_after(); } public function enqueue() { add_action( 'admin_footer', array( 'CSF_Field_icon', 'add_footer_modal_icon' ) ); add_action( 'customize_controls_print_footer_scripts', array( 'CSF_Field_icon', 'add_footer_modal_icon' ) ); } public static function add_footer_modal_icon() { ?>