ellifriends/wp-ef-foundation

Elli & Friends Foundation Plugin

dev-master 2019-11-30 09:31 UTC

This package is not auto-updated.

Last update: 2024-04-14 03:17:52 UTC


README

This is the foundation plugin that should be included on all sites by Elli & Friends.

Installation

composer require ellifriends/wp-ef-foundation

Documentation

This plugin contains some helper functions:

  • asset('path/to/file') will return the url path to a file in the assets directory in the theme. There are a second optional argument that will change the directory to look in, default is assets
  • mix('path/to/file') will check the content of mix-manifest.json and return the versioned file url or the file url without version if it don't exists. There are a second optional argument that will change the directory to look in, default is assets

License

MIT © Elli & Friends