/** * Prints the theme translate URL. * * @since 1.0.0 * @access public * @param int $theme_id * @return void */ function thds_wporg_theme_translate_url($theme_id = 0) { echo esc_url(thds_get_wporg_theme_translate_url($theme_id)); }
/** * Filters the theme translate URL. * * @since 1.0.0 * @access public * @param string $url * @param int $theme_id * @return string */ function thds_wporg_theme_translate_url_filter($url, $theme_id) { return !$url ? thds_get_wporg_theme_translate_url($theme_id) : $url; }