• For some reason when using the plugin it won’t recognize custom roles, for example the below works properly and registers the role however with the plugin activated I’m unable to search for said users assigned as “Agent” in this case, if I disable the plugin they show up just fine (Screenshot https://cl.ly/221K1J2n0M2J):

    /*-----------------------------------------------------------------------------------*/
    /* Add Agent User Role */
    /*-----------------------------------------------------------------------------------*/
    
    $ct_add_agent_role = add_role(
        'agent',
        __( 'Agent', 'contempo' ),
        array(
            'read'         => true,
    		'publish_posts' => true,
    	    'edit_posts'   => true,
    	    'edit_published_posts' => true,
    	    'delete_posts' => true,
    	    'delete_published_posts' => true,
    	    'upload_files' => true,
        )
    );
  • The topic ‘Can’t Select Custom Roles’ is closed to new replies.