php - 变量 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 )
这是我有点困惑的数据
解决方案
推荐阅读
- postgresql - 我们如何在 PostgreSQL 中转换给定的日期时间格式?
- javascript - 如何获取通过 React JSX 定义的 html 元素?
- java - 一次登录不能使用多个用户
- java - 迭代集合时 Java 流/forEach 中的定期操作
- spring - Spring boot 2 Prometheus 不提取数据库指标
- ruby-on-rails - 找不到 Spree::Page 错误如何解决此问题
- keras - 用于时间序列分析 keras 的 lstm 显示 numpy.ndarray 对象没有属性“_validate_or_infer_batch_size”
- python - 如何使用变量 .format 写入文件?
- qsplashscreen - QSplashScreen 不显示图像 pyqt5
- python - 需要用漂亮的汤找到价值