/**
 * Prints the theme preview URL.
 *
 * @since  1.0.0
 * @access public
 * @param  int     $theme_id
 * @return void
 */
function thds_wporg_theme_preview_url($theme_id = 0)
{
    echo esc_url(thds_get_wporg_theme_preview_url($theme_id));
}
/**
 * Filters the theme demo URL.
 *
 * @since  1.0.0
 * @access public
 * @param  string  $url
 * @param  int     $theme_id
 * @return string
 */
function thds_wporg_theme_demo_url_filter($url, $theme_id)
{
    return !$url ? thds_get_wporg_theme_preview_url($theme_id) : $url;
}