Created by Florian Ziegler 2018-11-27 View revision File snippet.txt Added Side-by-side diff More Ignore whitespace Hide word diff +/** + * Define a custom slug for collections + */ + +function my_picu_collection_slug() { + return 'my-defined-slug'; +} + +add_filter( 'picu_collection_slug', 'my_picu_collection_slug' );