';
$content .= wp_kses_post( astra_get_prop( $args, 'description' ) );
// Links.
if ( astra_get_prop( $args, 'links' ) ) {
$content .= '
';
foreach ( $args['links'] as $index => $link ) {
if ( astra_get_prop( $link, 'attrs' ) ) {
$content .= '- ';
// Attribute mapping.
$attributes = ' target="_blank" ';
foreach ( astra_get_prop( $link, 'attrs' ) as $attr => $attr_value ) {
$attributes .= ' ' . $attr . '="' . esc_attr( $attr_value ) . '" ';
}
$content .= '' . esc_html( astra_get_prop( $link, 'text' ) ) . '
';
$content .= '';
}
}
$content .= '
';
}
$content .= '';
return $content;
}
}
}
/**
* Kicking this off by calling 'get_instance()' method
*/
new Astra_Customizer_Config_Base();