0

When I run this, it works: $content = get_content(); echo $content['content']; but when I run this echo get_content()['content']; I get Parse error: syntax error, unexpected '[', expecting ',' or ';'

Is there a way around this? I can provide the actual get_content() function if that is necessary but thought I'd start here.

Thanks!

SeaBass
  • 1,584
  • 4
  • 20
  • 46

0 Answers0