/**
 * Defines the set of default roles.
 *
 * XXX: Needs user testing. This set of roles should be vetted by someone with
 * editorial experience, and adjusted to fit a common set of use cases.
 */
function register_default_author_roles()
{
    register_author_role('author', array('byline' => true, 'name' => __('Author', 'co-authors-plus-roles'), 'labels' => array('name_user_role_singular' => __('Author', 'co-authors-plus-roles'), 'name_user_role_plural' => __('Authors', 'co-authors-plus-roles'), 'post_relationship_by' => __('by %s', 'co-authors-plus-roles'))));
    register_author_role('contributor', array('byline' => false, 'name' => __('Contributing Author', 'co-authors-plus-roles'), 'labels' => array('name_user_role_singular' => __('Contributing Author', 'co-authors-plus-roles'), 'name_user_role_plural' => __('Contributing Authors', 'co-authors-plus-roles'), 'post_relationship_by' => __('Additional Reporting by %s', 'co-authors-plus-roles'))));
    register_author_role('photographer', array('byline' => false, 'name' => __('Photographer', 'co-authors-plus-roles'), 'labels' => array('name_user_role_singular' => __('Photographer', 'co-authors-plus-roles'), 'name_user_role_plural' => __('Photographers', 'co-authors-plus-roles'), 'post_relationship_by' => __('Photography by %s', 'co-authors-plus-roles'))));
}
/**
 * Modifies a previously registered "contributor role" for the site.
 *
 * An alias for register_author_role.
 *
 * @param string $slug Slug of role to remove
 * @param array $args Overrides to define this role
 * @return object the created WP_Author_Role object
 */
function modify_author_role($slug, $name, $args)
{
    register_author_role($slug, $name, $args);
}