/** * Prints the theme version. * * @since 1.0.0 * @access public * @param int $theme_id * @return void */ function thds_wporg_theme_version($theme_id = 0) { echo esc_html(thds_get_wporg_theme_version($theme_id)); }
/** * Filters the theme version. * * @since 1.0.0 * @access public * @param string $version * @param int $theme_id * @return string */ function thds_wporg_theme_version_filter($version, $theme_id) { return !$version ? thds_get_wporg_theme_version($theme_id) : $version; }