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

XFtoWP 1.5 Release Candidate 4

XFtoWP 1.5 is nearly ready to be marked stable. Download now from your account area.