update_post_meta on multi-dimensional array options
Question
When updating the database, I use update_post_meta($employee->ID, '_email_address', $record->email);
and update this result:
object(stdClass)[1295]
public 'email' => string 'he@fhflondon.co.uk' (length=32)
How does one target an inner array for files such as leadership, profile?
object(stdClass)[1295]
public 'biography' => string '' (length=0)
public 'files' =>
object(stdClass)[1294]
public 'leadership' => null
public 'profile' => null
public 'blog' => null
public 'thumbnail' => null
0
php
4 years
2019-10-29T15:27:28-05:00
2019-10-29T15:27:28-05:00 0 Answers
71 views
0
Leave an answer