Support

Account

Home Forums General Issues List out post title from global variable array

Unread

List out post title from global variable array

  • Hello

    I am creating WP email notifications which include some custom fields in the body.

    I currently pull a relationship field using a global variable $claims = $_POST['acf']['field_61e58083d6d49'];

    When I do this it returns an array as follows:

    Array ( [0] => 1017 [1] => 1015 )

    My question is, how can I use this variable to display a list of the post titles from this array rather than the IDs in this unreadable format?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.