HashimW3633
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Empty array when I query related posts using toolset_get_related_posts
Started by: HashimW3633
in: Toolset Professional Support
Problem: I am trying to use the toolset_get_related_posts API to display some related posts, but when I echo the results I see "Array". I should see posts. Solution: The results returned by the API will be an array of post objects. If you try to echo those directly, you will see "Array". You can loop over those objects with a foreach, or you can inspect them using print_r. Relevant Documentation: |
|
2 | 5 | 6 years, 7 months ago |