'airo-wp-pill airo-wp-justify' . $justify_class )
);
$html = sprintf(
'
%2$s
',
$wrapper,
wp_kses_post( $text )
);
// Colour, background, border and padding paint the visible pill, not the
// full-column-width positioning wrapper. Margin and typography stay put.
// 'background' is not a separate entry: the pill has no distinct WP
// background-image support, so backgrounds live under 'color'
// (style.color.background) and 'color' already routes them.
return airowp_route_visual_supports(
$html,
$attributes,
'airo-wp-pill__content',
array( 'color', 'border', 'spacing.padding' )
);
}
}
// Output directly (WordPress captures echo'd output from render callbacks).
echo airowp_render_pill( $attributes, $content, $block ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped