getherbert / herbert

The WordPress Plugin Framework:
http://getherbert.com/
634 stars 95 forks source link

how i can use helper function in twig view #191

Open mohamed4shim opened 6 years ago

mohamed4shim commented 6 years ago

when i installing herbert example plugin it give me the following error

Twig_Error_Syntax Unknown "panel_url" function. here is the view content

Api Posts


Allowed IPs

    {% for item in addresses %}
  • {{ item.address }} Delete
  • {% else %} Looks like you have no addresses added. {% endfor %}

but when i call it from controller it work but not in twig view