When creating private content, the default owner type is set to ‘User’. If you want to change this and by default show another type, you can insert this code snippet in your theme’s functions.php
file.
add_filter('cuar/core/ownership/default-owner-type', 'cuar_default_owner_type'); function cuar_default_owner_type($t) { return 'grp'; }
As of today, the owner types which are available are:
usr
: User (the default)grp
: Group (available in the additional owner types add-on)rol
: WordPress role (available in the additional owner types add-on)mgrp
: Managed group (available in the managed groups add-on)sgrp
: Managed group (available in the smart groups add-on)prj
: Project (available in the projects add-on)