Skip Navigation

[Resolved] user selector not populating as filter

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 12 replies, has 2 voices.

Last updated by Shane 5 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1257399

I am trying to:

I'm create a crm system with a basic project management component. There is a cpt called 'Tasks' which has a field called 'user-id', this field uses the below code to populate the users into a select field so tasks can be assigned to specific users. This works just fine on the post form that creates/edits tasks, however when I attempt to use the same field as a filter for a view displaying all tasks the selection box drop down is empty.

The below code is in my functions.php file, I also tried to deploy from the custom code section but that did not work (but that's an issue for another thread). I also have this code in the WP TwentyNineteen theme for testing purposes, and i get the same result there, the filter drop-down is empty.


add_filter( 'wpt_field_options', 'add_some_options', 10, 3);
function add_some_options( $options, $title, $type )
{
    switch( $title )
    {
    case 'user id':
        $args = array(
            'orderby' => 'display_name',
            'fields' => array( 'ID', 'display_name')
        );
        foreach( get_users($args) as $user ) {
            $options[] = array(
                '#value' => $user->ID,
                '#title' => $user->display_name,
            );
        }
        break;
    }
    return $options;
}

#1257549

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matt,

Thank you for contacting our support forum.

As you may not be aware, this function is an internal function used to populate the fields. Its not a public hook that is meant to be used like this, so support here is limited.

Could you add a var_dump() function. I would like to know if the get users is returning the users.

So if you can add var_dump(get_users($args)); and let me know the results.

Thanks,
Shane

#1257557

Hey Shane,

I've added the var_dump function as requested and I am getting an array printed on both pages that utilize the filter (create task, and view tasks). The user arrays I am seeing are identical, so returning get_users doesn't appear to the the issue.

Also, if there is an easier way to go about assigning a custom post like this to a user I'd be more than happy to explore it. I was honestly surprised to not see a field like this in the list pre-populated post form list. It seems like it would be a fairly common use case.

C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5504]
      public 'data' => 
        object(stdClass)[5491]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5412]
      public 'data' => 
        object(stdClass)[5509]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5502]
      public 'data' => 
        object(stdClass)[5510]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5553]
      public 'data' => 
        object(stdClass)[5507]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5466]
      public 'data' => 
        object(stdClass)[5506]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5555]
      public 'data' => 
        object(stdClass)[5505]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5399]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5393]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5419]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5418]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5414]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5417]
      public 'data' => 
        object(stdClass)[5501]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5491]
      public 'data' => 
        object(stdClass)[5501]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5508]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5557]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5558]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5559]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5560]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(stdClass)[5500]
      public 'ID' => string '5' (length=1)
      public 'display_name' => string 'robert' (length=6)
  1 => 
    object(stdClass)[5552]
      public 'ID' => string '4' (length=1)
      public 'display_name' => string 'Ryan MacLuckie' (length=14)
  2 => 
    object(stdClass)[5490]
      public 'ID' => string '3' (length=1)
      public 'display_name' => string 'Test' (length=4)
  3 => 
    object(stdClass)[5503]
      public 'ID' => string '6' (length=1)
      public 'display_name' => string 'Tom' (length=3)
  4 => 
    object(stdClass)[5554]
      public 'ID' => string '2' (length=1)
      public 'display_name' => string 'Tool Set' (length=8)
  5 => 
    object(stdClass)[5499]
      public 'ID' => string '1' (length=1)
      public 'display_name' => string 'YLS-Admin' (length=9)
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5572]
      public 'data' => 
        object(stdClass)[5499]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5511]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5491]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5463]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5465]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5562]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5576]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5575]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5508]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5464]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5507]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5574]
      public 'data' => 
        object(stdClass)[5499]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5583]
      public 'data' => 
        object(stdClass)[5499]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5582]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5581]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5580]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5579]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5578]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(stdClass)[5554]
      public 'ID' => string '5' (length=1)
      public 'display_name' => string 'robert' (length=6)
  1 => 
    object(stdClass)[5503]
      public 'ID' => string '4' (length=1)
      public 'display_name' => string 'Ryan MacLuckie' (length=14)
  2 => 
    object(stdClass)[5490]
      public 'ID' => string '3' (length=1)
      public 'display_name' => string 'Test' (length=4)
  3 => 
    object(stdClass)[5552]
      public 'ID' => string '6' (length=1)
      public 'display_name' => string 'Tom' (length=3)
  4 => 
    object(stdClass)[5500]
      public 'ID' => string '2' (length=1)
      public 'display_name' => string 'Tool Set' (length=8)
  5 => 
    object(stdClass)[5588]
      public 'ID' => string '1' (length=1)
      public 'display_name' => string 'YLS-Admin' (length=9)
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5597]
      public 'data' => 
        object(stdClass)[5588]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5502]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5583]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5566]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5573]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5570]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5601]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5600]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5582]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5565]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5572]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5599]
      public 'data' => 
        object(stdClass)[5588]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(WP_User)[5608]
      public 'data' => 
        object(stdClass)[5588]
          public 'ID' => string '5' (length=1)
          public 'user_login' => string 'robert' (length=6)
          public 'user_pass' => string '$P$BRPS/p3/kFjaI87OmZ8byhk2EIQBb61' (length=34)
          public 'user_nicename' => string 'robert' (length=6)
          public 'user_email' => string 'robbieb22288@gmail.com' (length=22)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-19 18:56:05' (length=19)
          public 'user_activation_key' => string '1555700165:$P$BxfsH5n6TTeTwt1qRyRR8LKT5mM.PH1' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'robert' (length=6)
      public 'ID' => int 5
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  1 => 
    object(WP_User)[5607]
      public 'data' => 
        object(stdClass)[5500]
          public 'ID' => string '4' (length=1)
          public 'user_login' => string 'ryan' (length=4)
          public 'user_pass' => string '$P$BMDfrjo6wBSxGS88WVYf020x1EfBNQ0' (length=34)
          public 'user_nicename' => string 'ryan' (length=4)
          public 'user_email' => string 'ryan@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-15 18:23:06' (length=19)
          public 'user_activation_key' => string '1555352586:$P$B/kt864ZcvdL9y5MRRPlg.p92U7wpp.' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Ryan MacLuckie' (length=14)
      public 'ID' => int 4
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  2 => 
    object(WP_User)[5606]
      public 'data' => 
        object(stdClass)[5552]
          public 'ID' => string '3' (length=1)
          public 'user_login' => string 'test01' (length=6)
          public 'user_pass' => string '$P$BPcd1l4IbjkvQaCbqLWDda7IXReo2X/' (length=34)
          public 'user_nicename' => string 'test01' (length=6)
          public 'user_email' => string 'test01@test01.com' (length=17)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:35:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Test' (length=4)
      public 'ID' => int 3
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  3 => 
    object(WP_User)[5605]
      public 'data' => 
        object(stdClass)[5490]
          public 'ID' => string '6' (length=1)
          public 'user_login' => string 'Tom' (length=3)
          public 'user_pass' => string '$P$ByUQCVDcLPaPfXj/WOWjVysd3dLasl.' (length=34)
          public 'user_nicename' => string 'tom' (length=3)
          public 'user_email' => string 'tom@tom.com' (length=11)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-04-30 18:55:13' (length=19)
          public 'user_activation_key' => string '1556650513:$P$BwmWqgECFS.JK2MyBQPUkzucoUHNdP0' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tom' (length=3)
      public 'ID' => int 6
      public 'caps' => 
        array (size=1)
          'author' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'author' (length=6)
      public 'allcaps' => 
        array (size=11)
          'upload_files' => boolean true
          'edit_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'read' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'delete_posts' => boolean true
          'delete_published_posts' => boolean true
          'author' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  4 => 
    object(WP_User)[5604]
      public 'data' => 
        object(stdClass)[5503]
          public 'ID' => string '2' (length=1)
          public 'user_login' => string 'toolset' (length=7)
          public 'user_pass' => string '$P$Brr2u1cWij4SA/EuRCzRbjOHpIWiRp1' (length=34)
          public 'user_nicename' => string 'toolset' (length=7)
          public 'user_email' => string 'toolset@toolset.com' (length=19)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-03-25 13:05:21' (length=19)
          public 'user_activation_key' => string '1553519121:$P$BSJeW0g3m9P4v6pQ5rnbzpWRSchCS81' (length=45)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'Tool Set' (length=8)
      public 'ID' => int 2
      public 'caps' => 
        array (size=1)
          'administrator' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
  5 => 
    object(WP_User)[5603]
      public 'data' => 
        object(stdClass)[5554]
          public 'ID' => string '1' (length=1)
          public 'user_login' => string 'YLS-Admin' (length=9)
          public 'user_pass' => string '$P$B4tpSGRESdHQoeCN4OT75WlqByiB6X0' (length=34)
          public 'user_nicename' => string 'yls-admin' (length=9)
          public 'user_email' => string 'matt@yellowlionsolutions.com' (length=28)
          public 'user_url' => string '' (length=0)
          public 'user_registered' => string '2019-02-08 20:02:30' (length=19)
          public 'user_activation_key' => string '' (length=0)
          public 'user_status' => string '0' (length=1)
          public 'display_name' => string 'YLS-Admin' (length=9)
      public 'ID' => int 1
      public 'caps' => 
        array (size=20)
          'administrator' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
      public 'cap_key' => string 'wp_capabilities' (length=15)
      public 'roles' => 
        array (size=1)
          0 => string 'administrator' (length=13)
      public 'allcaps' => 
        array (size=81)
          'switch_themes' => boolean true
          'edit_themes' => boolean true
          'activate_plugins' => boolean true
          'edit_plugins' => boolean true
          'edit_users' => boolean true
          'edit_files' => boolean true
          'manage_options' => boolean true
          'moderate_comments' => boolean true
          'manage_categories' => boolean true
          'manage_links' => boolean true
          'upload_files' => boolean true
          'import' => boolean true
          'unfiltered_html' => boolean true
          'edit_posts' => boolean true
          'edit_others_posts' => boolean true
          'edit_published_posts' => boolean true
          'publish_posts' => boolean true
          'edit_pages' => boolean true
          'read' => boolean true
          'level_10' => boolean true
          'level_9' => boolean true
          'level_8' => boolean true
          'level_7' => boolean true
          'level_6' => boolean true
          'level_5' => boolean true
          'level_4' => boolean true
          'level_3' => boolean true
          'level_2' => boolean true
          'level_1' => boolean true
          'level_0' => boolean true
          'edit_others_pages' => boolean true
          'edit_published_pages' => boolean true
          'publish_pages' => boolean true
          'delete_pages' => boolean true
          'delete_others_pages' => boolean true
          'delete_published_pages' => boolean true
          'delete_posts' => boolean true
          'delete_others_posts' => boolean true
          'delete_published_posts' => boolean true
          'delete_private_posts' => boolean true
          'edit_private_posts' => boolean true
          'read_private_posts' => boolean true
          'delete_private_pages' => boolean true
          'edit_private_pages' => boolean true
          'read_private_pages' => boolean true
          'delete_users' => boolean true
          'create_users' => boolean true
          'unfiltered_upload' => boolean true
          'edit_dashboard' => boolean true
          'update_plugins' => boolean true
          'delete_plugins' => boolean true
          'install_plugins' => boolean true
          'update_themes' => boolean true
          'install_themes' => boolean true
          'update_core' => boolean true
          'list_users' => boolean true
          'remove_users' => boolean true
          'promote_users' => boolean true
          'edit_theme_options' => boolean true
          'delete_themes' => boolean true
          'export' => boolean true
          'wpcf_custom_post_type_view' => boolean true
          'wpcf_custom_post_type_edit' => boolean true
          'wpcf_custom_post_type_edit_others' => boolean true
          'wpcf_custom_taxonomy_view' => boolean true
          'wpcf_custom_taxonomy_edit' => boolean true
          'wpcf_custom_taxonomy_edit_others' => boolean true
          'wpcf_custom_field_view' => boolean true
          'wpcf_custom_field_edit' => boolean true
          'wpcf_custom_field_edit_others' => boolean true
          'wpcf_user_meta_field_view' => boolean true
          'wpcf_user_meta_field_edit' => boolean true
          'wpcf_user_meta_field_edit_others' => boolean true
          'ddl_create_layout' => boolean true
          'ddl_assign_layout_to_content' => boolean true
          'ddl_edit_layout' => boolean true
          'ddl_delete_layout' => boolean true
          'ddl_create_content_layout' => boolean true
          'ddl_edit_content_layout' => boolean true
          'ddl_delete_content_layout' => boolean true
          'administrator' => boolean true
      public 'filter' => null
      private 'site_id' => int 1
C:\wamp64\www\CRM\wp-content\themes\peak-theme\functions.php:107:
array (size=6)
  0 => 
    object(stdClass)[5500]
      public 'ID' => string '5' (length=1)
      public 'display_name' => string 'robert' (length=6)
  1 => 
    object(stdClass)[5552]
      public 'ID' => string '4' (length=1)
      public 'display_name' => string 'Ryan MacLuckie' (length=14)
  2 => 
    object(stdClass)[5490]
      public 'ID' => string '3' (length=1)
      public 'display_name' => string 'Test' (length=4)
  3 => 
    object(stdClass)[5503]
      public 'ID' => string '6' (length=1)
      public 'display_name' => string 'Tom' (length=3)
  4 => 
    object(stdClass)[5554]
      public 'ID' => string '2' (length=1)
      public 'display_name' => string 'Tool Set' (length=8)
  5 => 
    object(stdClass)[5613]
      public 'ID' => string '1' (length=1)
      public 'display_name' => string 'YLS-Admin' (length=9)

Thanks,
Matt

#1257559

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

What I would do is to separate the get_users() from the foreach.

$users = get_users($args);

foreach(  $users as $user ) {
            $options[] = array(
                '#value' => $user->ID,
                '#title' => $user->display_name,
            );
        }
        break;

Try it like this.

#1257561

Shane, I revised my code as you outlined but it still is not functioning as expected for the filter. It just doesn't seem as though the filter is utilizing the function at all. Any other thoughts on how I can achieve the end goal of having a user field I can filter a cpt by?

Thanks,
Matt

#1258767

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matt,

As mentioned previously this is an internal hook that is not meant to be used for this purpose and our developers could've changed the implementation.

However what I can try to do is to log into your site to check to see if all the information that the hook needs is correct.

The private fields will be enabled for your next response.

Thanks,
Shane

#1258787

Shane,

I'm developing this in a local environment so I created a duplictor pro package for you and uploaded it to OneDrive, the link is below. This is very much a work in progress, just to make you aware there are a lot of things that are not working properly just yet, but the issue I've described can be found on the "My Tasks" page under the "Assignee" drop-down, whereas on that same page if you click the create task button you can see the drop-down working as intended on that form.

hidden link

user: YLS-Admin
pass: YellowLion010!

Thanks,
Matt

#1260465

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matt,

Thanks i'm currently downloading the package.

Thanks,
Shane

#1260501

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matt,

So i know this issue.

You see for the view filters, it is getting the values from Types itself. Since you are auto-populating the Types field there is nothing for views to fill for the filter.

What you need to do is to manually enter the values for the filter. As mentioned previously this hook is an internal hook.

Thanks,
Shane

#1261629

Shane,

By manually populating the 'user id' field, I end up with duplicates in that fields drop down when assigning a task. So that by itself isn't going to work for this use case. Before I start making changes I just want to run this proposed solution by you.

1. Do away with the function to populate the 'user id' field when assigning tasks.
2. Write a new function (if possible) that programatically adds/removes users names from the 'user id' field when new users are created.

I'm just trying to allow for both assigning and filtering functionality through that field without having to manually recreate users under that field. Let me know what you think.

Thanks,
Matt

#1262505

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matt,

1. Do away with the function to populate the 'user id' field when assigning tasks.

Yes i would recommend this as it doesn't save the values in Types itself. The values in Types are required.

2. Write a new function (if possible) that programatically adds/removes users names from the 'user id' field when new users are created.

This is what I recommend, If you're able to write a custom function to populate the field in Types directly then this would work.

Thanks,
Shane

#1262571

Shane,

Thanks for the reply, I'm going to give this a shot today to see if I can get it working. I'm most likely going to make a user cred form for the front end so I can tie an action hook to it. If there is any documentation about how to programatically add options to custom select fields would you mind sending it my way. It will just be faster than me trying to go at it from scratch. If not no worries, I'll figure something out and share here in case anyone else has the same issue.

Thanks,
Matt

#1262737

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Matt,

Unfortunately no I do not have a guide or API document on how to do this.

Thanks,
Shane