/**
 * Get plugin's theme stylesheet URI.
 *
 * @since  3.1.6
 * @return string Stylesheet URI
 */
function wpas_get_theme_stylesheet_uri()
{
    $theme = wpas_get_theme();
    $template = locate_template(array(WPAS_TEMPLATE_PATH . 'style.css', WPAS_TEMPLATE_PATH . 'css/style.css'));
    if (!$template) {
        $template = WPAS_PATH . "themes/{$theme}/css/style.css";
    }
    /* Remove the root path and replace backslashes by slashes */
    $truncate = str_replace('\\', '/', str_replace(untrailingslashit(ABSPATH), '', $template));
    /* Make sure the truncated string doesn't start with a slash because we trailing slash the home URL) */
    if ('/' === substr($truncate, 0, 1)) {
        $truncate = substr($truncate, 1);
    }
    /* Build the final URL to the resource */
    $uri = trailingslashit(site_url()) . $truncate;
    return apply_filters('wpas_get_theme_stylesheet_uri', $uri);
}
/**
 * Get the plugin's theme stylesheet path.
 *
 * @since  3.1.6
 * @return string Stylesheet path
 */
function wpas_get_theme_stylesheet()
{
    $theme = wpas_get_theme();
    $template = locate_template(array(WPAS_TEMPLATE_PATH . 'style.css', WPAS_TEMPLATE_PATH . 'css/style.css'));
    if (!$template) {
        $template = WPAS_PATH . "themes/{$theme}/css/style.css";
    }
    return apply_filters('wpas_get_theme_stylesheet', $template);
}