I'm receiving the JSON array below with various permissions.
How to check the publish_actions [status] value if you don't know which node it is in? (currently it's in [3] but it could be any other number)
JSON array:
Array (
[data] => Array (
[0] => Array (
[permission] => installed
[status] => granted
)
[1] => Array (
[permission] => public_profile
[status] => granted
)
[2] => Array (
[permission] => manage_pages
[status] => granted
)
[3] => Array (
[permission] => publish_actions
[status] => granted
)
[4] => Array (
[permission] => user_groups
[status] => granted
)
)
)