settings_api->get_altpilot_banner_cta();
$apop_altpilot_rel = ( '_blank' === $apop_altpilot_cta['target'] ) ? 'noopener noreferrer' : '';
// The href alone already installs AltPilot through the WordPress
// installer screen. These attributes let the script do the same
// step over AJAX so the admin never leaves the Alt Text page.
$apop_altpilot_install_attrs = '';
if ( 'install' === $apop_altpilot_cta['state'] ) {
$apop_altpilot_install_attrs = sprintf(
' data-onetap-altpilot-install="1" data-slug="%1$s" data-busy-label="%2$s" data-done-label="%3$s"',
esc_attr( $apop_altpilot_cta['slug'] ),
esc_attr( $apop_altpilot_cta['busy_label'] ),
esc_attr( $apop_altpilot_cta['done_label'] )
);
}
?>