User get_caps_data()




User get_caps_data()




User roles

WP_User Object
(
    [data] => stdClass Object
        (
            [ID] => 3
            [user_login] => kreonid3
            [user_pass] => $P$BVYr7onsN7z72p/lDQCpT6QQIbgiBa0
            [user_nicename] => kreonid3
            [user_email] => mike247007@gmail.com
            [user_url] => 
            [user_registered] => 2018-04-24 12:49:36
            [user_activation_key] => 
            [user_status] => 0
            [display_name] => iwasasari
            [user_level] => 10
        )

    [ID] => 3
    [caps] => Array
        (
            [administrator] => 1
            [dashboard_admin] => 1
            [admin] => 1
            [backwpup_admin] => 1
        )

    [cap_key] => wp_capabilities
    [roles] => Array
        (
            [0] => administrator
            [3] => backwpup_admin
        )

    [allcaps] => Array
        (
            [switch_themes] => 1
            [edit_themes] => 1
            [activate_plugins] => 1
            [edit_plugins] => 1
            [edit_users] => 1
            [edit_files] => 1
            [manage_options] => 1
            [moderate_comments] => 1
            [manage_categories] => 1
            [manage_links] => 1
            [upload_files] => 1
            [import] => 1
            [unfiltered_html] => 1
            [edit_posts] => 1
            [edit_others_posts] => 1
            [edit_published_posts] => 1
            [publish_posts] => 1
            [edit_pages] => 1
            [read] => 1
            [level_10] => 1
            [level_9] => 1
            [level_8] => 1
            [level_7] => 1
            [level_6] => 1
            [level_5] => 1
            [level_4] => 1
            [level_3] => 1
            [level_2] => 1
            [level_1] => 1
            [level_0] => 1
            [edit_others_pages] => 1
            [edit_published_pages] => 1
            [publish_pages] => 1
            [delete_pages] => 1
            [delete_others_pages] => 1
            [delete_published_pages] => 1
            [delete_posts] => 1
            [delete_others_posts] => 1
            [delete_published_posts] => 1
            [delete_private_posts] => 1
            [edit_private_posts] => 1
            [read_private_posts] => 1
            [delete_private_pages] => 1
            [edit_private_pages] => 1
            [read_private_pages] => 1
            [delete_users] => 1
            [create_users] => 1
            [unfiltered_upload] => 1
            [edit_dashboard] => 1
            [update_plugins] => 1
            [delete_plugins] => 1
            [install_plugins] => 1
            [update_themes] => 1
            [install_themes] => 1
            [update_core] => 1
            [list_users] => 1
            [remove_users] => 1
            [promote_users] => 1
            [edit_theme_options] => 1
            [delete_themes] => 1
            [export] => 1
            [manage_woocommerce] => 1
            [view_woocommerce_reports] => 1
            [edit_product] => 1
            [read_product] => 1
            [delete_product] => 1
            [edit_products] => 1
            [edit_others_products] => 1
            [publish_products] => 1
            [read_private_products] => 1
            [delete_products] => 1
            [delete_private_products] => 1
            [delete_published_products] => 1
            [delete_others_products] => 1
            [edit_private_products] => 1
            [edit_published_products] => 1
            [manage_product_terms] => 1
            [edit_product_terms] => 1
            [delete_product_terms] => 1
            [assign_product_terms] => 1
            [edit_shop_order] => 1
            [read_shop_order] => 1
            [delete_shop_order] => 1
            [edit_shop_orders] => 1
            [edit_others_shop_orders] => 1
            [publish_shop_orders] => 1
            [read_private_shop_orders] => 1
            [delete_shop_orders] => 1
            [delete_private_shop_orders] => 1
            [delete_published_shop_orders] => 1
            [delete_others_shop_orders] => 1
            [edit_private_shop_orders] => 1
            [edit_published_shop_orders] => 1
            [manage_shop_order_terms] => 1
            [edit_shop_order_terms] => 1
            [delete_shop_order_terms] => 1
            [assign_shop_order_terms] => 1
            [edit_shop_coupon] => 1
            [read_shop_coupon] => 1
            [delete_shop_coupon] => 1
            [edit_shop_coupons] => 1
            [edit_others_shop_coupons] => 1
            [publish_shop_coupons] => 1
            [read_private_shop_coupons] => 1
            [delete_shop_coupons] => 1
            [delete_private_shop_coupons] => 1
            [delete_published_shop_coupons] => 1
            [delete_others_shop_coupons] => 1
            [edit_private_shop_coupons] => 1
            [edit_published_shop_coupons] => 1
            [manage_shop_coupon_terms] => 1
            [edit_shop_coupon_terms] => 1
            [delete_shop_coupon_terms] => 1
            [assign_shop_coupon_terms] => 1
            [edit_custom_css] => 1
            [read_custom_css] => 1
            [delete_custom_css] => 1
            [edit_custom_csss] => 1
            [edit_others_custom_csss] => 1
            [publish_custom_csss] => 1
            [delete_custom_csss] => 1
            [delete_published_custom_csss] => 1
            [delete_others_custom_csss] => 1
            [edit_published_custom_csss] => 1
            [wpseo_manage_options] => 1
            [manage_admin_columns] => 1
            [et_support_center] => 1
            [et_support_center_system] => 1
            [et_support_center_remote_access] => 1
            [et_support_center_documentation] => 1
            [et_support_center_safe_mode] => 1
            [et_support_center_logs] => 1
            [ure_edit_roles] => 1
            [ure_create_roles] => 1
            [ure_delete_roles] => 1
            [ure_create_capabilities] => 1
            [ure_delete_capabilities] => 1
            [ure_manage_options] => 1
            [ure_reset_roles] => 1
            [read_private_custom_csss] => 1
            [buy_tax_free] => 1
            [buy_wholesale] => 1
            [create_posts] => 1
            [install_languages] => 1
            [resume_plugins] => 1
            [resume_themes] => 1
            [view_query_monitor] => 1
            [view_site_health_checks] => 1
            [wholesale] => 1
            [wpseo_bulk_edit] => 1
            [wpseo_edit_advanced_metadata] => 1
            [yi_test_cap] => 1
            [wf2fa_activate_2fa_self] => 1
            [wf2fa_activate_2fa_others] => 1
            [wf2fa_manage_settings] => 1
            [wpcf7_edit_contact_forms] => 1
            [manage_pys] => 1
            [read_post] => 1
            [read_private_sgpb_popups] => 1
            [edit_sgpb_popup] => 1
            [edit_sgpb_popups] => 1
            [edit_others_sgpb_popups] => 1
            [edit_published_sgpb_popups] => 1
            [publish_sgpb_popups] => 1
            [delete_sgpb_popups] => 1
            [delete_others_sgpb_popups] => 1
            [delete_private_sgpb_popups] => 1
            [delete_private_sgpb_popup] => 1
            [delete_published_sgpb_popups] => 1
            [sgpb_manage_options] => 1
            [manage_popup_terms] => 1
            [manage_popup_categories_terms] => 1
            [backwpup] => 1
            [backwpup_jobs] => 1
            [backwpup_jobs_edit] => 1
            [backwpup_jobs_start] => 1
            [backwpup_backups] => 1
            [backwpup_backups_download] => 1
            [backwpup_backups_delete] => 1
            [backwpup_logs] => 1
            [backwpup_logs_delete] => 1
            [backwpup_settings] => 1
            [backwpup_restore] => 1
            [administrator] => 1
            [dashboard_admin] => 1
            [admin] => 1
            [backwpup_admin] => 1
        )

    [filter] => 
    [site_id:WP_User:private] => 1
)

Get role admin

WP_Role Object ( [name] => administrator [capabilities] => Array ( [switch_themes] => 1 [edit_themes] => 1 [activate_plugins] => 1 [edit_plugins] => 1 [edit_users] => 1 [edit_files] => 1 [manage_options] => 1 [moderate_comments] => 1 [manage_categories] => 1 [manage_links] => 1 [upload_files] => 1 [import] => 1 [unfiltered_html] => 1 [edit_posts] => 1 [edit_others_posts] => 1 [edit_published_posts] => 1 [publish_posts] => 1 [edit_pages] => 1 [read] => 1 [level_10] => 1 [level_9] => 1 [level_8] => 1 [level_7] => 1 [level_6] => 1 [level_5] => 1 [level_4] => 1 [level_3] => 1 [level_2] => 1 [level_1] => 1 [level_0] => 1 [edit_others_pages] => 1 [edit_published_pages] => 1 [publish_pages] => 1 [delete_pages] => 1 [delete_others_pages] => 1 [delete_published_pages] => 1 [delete_posts] => 1 [delete_others_posts] => 1 [delete_published_posts] => 1 [delete_private_posts] => 1 [edit_private_posts] => 1 [read_private_posts] => 1 [delete_private_pages] => 1 [edit_private_pages] => 1 [read_private_pages] => 1 [delete_users] => 1 [create_users] => 1 [unfiltered_upload] => 1 [edit_dashboard] => 1 [update_plugins] => 1 [delete_plugins] => 1 [install_plugins] => 1 [update_themes] => 1 [install_themes] => 1 [update_core] => 1 [list_users] => 1 [remove_users] => 1 [promote_users] => 1 [edit_theme_options] => 1 [delete_themes] => 1 [export] => 1 [manage_woocommerce] => 1 [view_woocommerce_reports] => 1 [edit_product] => 1 [read_product] => 1 [delete_product] => 1 [edit_products] => 1 [edit_others_products] => 1 [publish_products] => 1 [read_private_products] => 1 [delete_products] => 1 [delete_private_products] => 1 [delete_published_products] => 1 [delete_others_products] => 1 [edit_private_products] => 1 [edit_published_products] => 1 [manage_product_terms] => 1 [edit_product_terms] => 1 [delete_product_terms] => 1 [assign_product_terms] => 1 [edit_shop_order] => 1 [read_shop_order] => 1 [delete_shop_order] => 1 [edit_shop_orders] => 1 [edit_others_shop_orders] => 1 [publish_shop_orders] => 1 [read_private_shop_orders] => 1 [delete_shop_orders] => 1 [delete_private_shop_orders] => 1 [delete_published_shop_orders] => 1 [delete_others_shop_orders] => 1 [edit_private_shop_orders] => 1 [edit_published_shop_orders] => 1 [manage_shop_order_terms] => 1 [edit_shop_order_terms] => 1 [delete_shop_order_terms] => 1 [assign_shop_order_terms] => 1 [edit_shop_coupon] => 1 [read_shop_coupon] => 1 [delete_shop_coupon] => 1 [edit_shop_coupons] => 1 [edit_others_shop_coupons] => 1 [publish_shop_coupons] => 1 [read_private_shop_coupons] => 1 [delete_shop_coupons] => 1 [delete_private_shop_coupons] => 1 [delete_published_shop_coupons] => 1 [delete_others_shop_coupons] => 1 [edit_private_shop_coupons] => 1 [edit_published_shop_coupons] => 1 [manage_shop_coupon_terms] => 1 [edit_shop_coupon_terms] => 1 [delete_shop_coupon_terms] => 1 [assign_shop_coupon_terms] => 1 [edit_custom_css] => 1 [read_custom_css] => 1 [delete_custom_css] => 1 [edit_custom_csss] => 1 [edit_others_custom_csss] => 1 [publish_custom_csss] => 1 [delete_custom_csss] => 1 [delete_published_custom_csss] => 1 [delete_others_custom_csss] => 1 [edit_published_custom_csss] => 1 [wpseo_manage_options] => 1 [manage_admin_columns] => 1 [et_support_center] => 1 [et_support_center_system] => 1 [et_support_center_remote_access] => 1 [et_support_center_documentation] => 1 [et_support_center_safe_mode] => 1 [et_support_center_logs] => 1 [ure_edit_roles] => 1 [ure_create_roles] => 1 [ure_delete_roles] => 1 [ure_create_capabilities] => 1 [ure_delete_capabilities] => 1 [ure_manage_options] => 1 [ure_reset_roles] => 1 [read_private_custom_csss] => 1 [buy_tax_free] => 1 [buy_wholesale] => 1 [create_posts] => 1 [install_languages] => 1 [resume_plugins] => 1 [resume_themes] => 1 [view_query_monitor] => 1 [view_site_health_checks] => 1 [wholesale] => 1 [wpseo_bulk_edit] => 1 [wpseo_edit_advanced_metadata] => 1 [yi_test_cap] => 1 [wf2fa_activate_2fa_self] => 1 [wf2fa_activate_2fa_others] => 1 [wf2fa_manage_settings] => 1 [wpcf7_edit_contact_forms] => 1 [manage_pys] => 1 [read_post] => 1 [read_private_sgpb_popups] => 1 [edit_sgpb_popup] => 1 [edit_sgpb_popups] => 1 [edit_others_sgpb_popups] => 1 [edit_published_sgpb_popups] => 1 [publish_sgpb_popups] => 1 [delete_sgpb_popups] => 1 [delete_others_sgpb_popups] => 1 [delete_private_sgpb_popups] => 1 [delete_private_sgpb_popup] => 1 [delete_published_sgpb_popups] => 1 [sgpb_manage_options] => 1 [manage_popup_terms] => 1 [manage_popup_categories_terms] => 1 [backwpup] => 1 [backwpup_jobs] => 1 [backwpup_jobs_edit] => 1 [backwpup_jobs_start] => 1 [backwpup_backups] => 1 [backwpup_backups_download] => 1 [backwpup_backups_delete] => 1 [backwpup_logs] => 1 [backwpup_logs_delete] => 1 [backwpup_settings] => 1 [backwpup_restore] => 1 ) )
1Can access admin