首页 > 解决方案 > 变量 php 中的 stdClass 对象值

问题描述

嗨,我有点陷入了一种情况,我想要 user_email 的 $variable 中的单个值

WP_User Object ( [data] => stdClass Object ( [ID] => 556853 [user_login] => vaknunispi@nedoz.com [user_pass] => $P$ButkcNwAZr4NSd4sPnoxwOd1G0hh0I/ [user_nicename] => vaknunispinedoz-com [user_email] => vaknunispi@nedoz.com [user_url] => [user_registered] => 2021-03-13 04:57:36 [user_activation_key] => 1615611730:$P$BGz9hvu5gNh8M7kTI/w7I4DnbzzTxP. [user_status] => 0 [display_name] => vaknunispi@nedoz.com ) [ID] => 556853 [caps] => Array ( [candidate] => 1 ) [cap_key] => jobo_capabilities [roles] => Array ( [0] => candidate ) [allcaps] => Array ( [read] => 1 [edit_posts] => [delete_posts] => [candidate] => 1 ) [filter] => [site_id:WP_User:private] => 1 ) 

这是我有点困惑的数据

标签: phpjqueryajax

解决方案


推荐阅读