true, ) ); } /** * Outputs the settings update form. * * @since 2.8.0 * * @param array $instance Current settings. * @return string Default return is 'noform'. */ public function form( $instance ) { $lang = isset( $instance['lang'] ) ? $instance['lang'] : ''; $title = isset( $instance['title'] ) ? $instance['title'] : ''; ?>

'; // Display widget title if defined if ( $title ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo $before_title . esc_html( $title ) . $after_title; } $cbid = Cookiebot_WP::get_cbid(); if ( ! is_multisite() || get_site_option( 'cookiebot-script-tag-cd-attribute', 'custom' ) === 'custom' ) { $tag_attr = get_option( 'cookiebot-script-tag-cd-attribute', 'async' ); } else { $tag_attr = get_site_option( 'cookiebot-script-tag-cd-attribute' ); } ?>