Skip to content

Instantly share code, notes, and snippets.

@xlplugins
Created September 10, 2019 11:40
Show Gist options
  • Save xlplugins/0b4e904d226e8bd7990f2f7d30852a20 to your computer and use it in GitHub Desktop.
Save xlplugins/0b4e904d226e8bd7990f2f7d30852a20 to your computer and use it in GitHub Desktop.
Save price rounded off via snippet
add_filter( 'wfacp_percentage_number_format', 'change_number_format' );
function change_number_format( $percentage ) {
return number_format( $percentage, 0 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment