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:

Add custom user roles to Thread comments

/**
 * 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' );

WordPress user syncing is almost ready! See what’s new in XFtoWP 1.2