What is a Util?

Utils are small, single file PHP utility classes that can be re-used in any Flynt project. All Utils are located in the lib/Utils folder of the Flynt Starter Theme.

Flynt comes with the following Utils ready to use:

  • ArrayHelpers
    Assists in handling PHP arrays.
  • Asset
    Manages the loading and adding of styles, scripts, and static assets.
  • Feature
    Register and setup Flynt Features.
  • FileLoader
    Assists in the loading of file directories.
  • Log
    Enables PHP data to be logged in various ways (for example, to the JavaScript console).
  • Oembed
    Add and modify parameters of WordPress Oembeds.
  • StringHelpers
    A collection of small string utilities.