Skip to content

Instantly share code, notes, and snippets.

@SiR-DanieL
Created October 24, 2014 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SiR-DanieL/ecd29ce7b1cc5fa1e1ba to your computer and use it in GitHub Desktop.
Save SiR-DanieL/ecd29ce7b1cc5fa1e1ba to your computer and use it in GitHub Desktop.
if ( is_numeric( $download['downloads_remaining'] ) )
echo apply_filters( 'woocommerce_available_download_count', '' . sprintf( _n( '%s download remaining', '%s downloads remaining', $download['downloads_remaining'], 'woocommerce' ), $download['downloads_remaining'] ) . ' ', $download );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment