Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何访问 acf php 中子字段的子字段?例如,我提交了“团队”和“名称”的子字段
公司->团队成员->姓名
就如此容易:
$data = get_field('company', $post->ID); echo esc_html($data['team_members']['name']);