tooltips_content ); wp_enqueue_style( 'kirki-tooltip', URL::get_from_path( __DIR__ . '/styles.css' ), [], '4.0' ); } /** * Filter control args. * * @access public * @since 1.0 * @param array $args The field arguments. * @param WP_Customize_Manager $wp_customize The customizer instance. * @return array */ public function filter_control_args( $args, $wp_customize ) { if ( isset( $args['tooltip'] ) && $args['tooltip'] ) { $this->tooltips_content[ $args['settings'] ] = [ 'id' => sanitize_key( $args['settings'] ), 'content' => wp_kses_post( $args['tooltip'] ), ]; } return $args; } }