Enable Thread create and connect to custom user roles
In Thread comments settings you can assign the create/connect thread ability to the Editor and Author roles. Use this filter to add your own custom roles to the settings page:
/** * Grant create/connect thread ability to custom * user roles. * * @since 1.0 */ function child_theme_xfwp_comments_roles( $roles ) { $roles[] = 'role'; return $roles; } add_filter( 'xfwp_comments_roles', 'child_theme_xfwp_comments_roles' );