file_exists

Signature
file_exists(path=)

Whether a project file exists.

Arguments#

ArgumentTypeRequired
pathstringyes

Details#

  • Kind: Function, implemented by fugo.
  • Available in: every kind of template: layouts, partials, shortcodes and render hooks.
  • Output: escaped like any value, unless marked safe.

    Type to search titles, headings and text.