%s', esc_url( home_url( '/' ) ), $site_title );
}
echo wp_kses_post( $site_title );
} elseif ( 'site-description' === $feature ) {
$site_description = get_bloginfo( 'description' );
if ( $site_description ) {
$site_description = sprintf( '%s
', $site_description );
}
echo wp_kses_post( $site_description );
} elseif ( 'site-link' === $feature ) {
return sprintf( '%s', esc_url( home_url( '/' ) ), get_bloginfo( 'name' ) );
} elseif ( 'wp-link' === $feature ) {
return sprintf( '%s', esc_url( __( 'https://wordpress.org', 'auspicious' ) ), esc_html__( 'WordPress', 'auspicious' ) );
} elseif ( 'theme-link' === $feature ) {
$theme_name = wp_get_theme( get_template() );
$allowed = array(
'abbr' => array( 'title' => true ),
'acronym' => array( 'title' => true ),
'code' => true,
'em' => true,
'strong' => true,
);
return sprintf( '%s', $theme_name->display( 'ThemeURI' ), wp_kses( $theme_name->display( 'Name' ), $allowed ) );
}
}