hereismine
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [WPGet API - Connect to any external REST API] Blank or no data appearSorry I just gave a response now, I’ve resolved that. Turns out it should be like this $data[0][‘author’]; and the results appear. Thank you for your response!
Forum: Plugins
In reply to: [WPGet API - Connect to any external REST API] Blank or no data appearFYI, If I just write echo $data[‘author’]; like your tutorial did and it shows a warning:
Warning: Undefined array key “author” in /var/www/html/wp-content/plugins/code-snippets/php/front-end/class-frontend.php(239) : eval()’d code on line 10So I changed to echo $data[‘author’] ?? null; and the warning disappeared but no data were shown. I really appreciate it if you can help me. Thank you…
- This reply was modified 3 years ago by hereismine.
Forum: Plugins
In reply to: [WPGet API - Connect to any external REST API] Blank or no data appearI followed exactly as the tutorial did. Only the echo part of the data does not appear. When raw json and var dump, data shows..
Forum: Plugins
In reply to: [Code Snippets] Undefined array key… eval()’d code on line…I have tried your code and the warning is gone but why no data appears?
Viewing 4 replies - 1 through 4 (of 4 total)