Skip to content

Instantly share code, notes, and snippets.

@woogist
Created January 13, 2015 13:19
Show Gist options
  • Save woogist/4b7e8bed324f84010d7b to your computer and use it in GitHub Desktop.
Save woogist/4b7e8bed324f84010d7b to your computer and use it in GitHub Desktop.
Do not allow users to change the visibility of the collections in My Account
/**
* Do not allow users to change the visibility of the collections in My Account
*/
add_filter( 'woocommerce_photography_customers_can_change_visibility', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment