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,322
  • 2
  • 15
  • 41

0 Answers0