Skip to content

Instantly share code, notes, and snippets.

@fernandoacosta
Created March 2, 2018 03:30
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 fernandoacosta/81a52994da85fc2ffe5fe3db7f7e825b to your computer and use it in GitHub Desktop.
Save fernandoacosta/81a52994da85fc2ffe5fe3db7f7e825b to your computer and use it in GitHub Desktop.
Remover o status "Aguardando" dos relatórios do WC
add_filter( 'woocommerce_reports_order_statuses', 'fa_custom_reports_statuses' );
function fa_custom_reports_statuses() {
return array( 'completed', 'processing' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment