ellifriends / wp-ef-foundation
Elli & Friends Foundation Plugin
Installs: 17
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:wordpress-muplugin
Requires
- php: ^5.6 || ^7.0
- composer/installers: ~1.0
Requires (Dev)
- wp-coding-standards/wpcs: dev-develop
This package is not auto-updated.
Last update: 2025-03-30 08:12:27 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 theassets
directory in the theme. There are a second optional argument that will change the directory to look in, default isassets
mix('path/to/file')
will check the content ofmix-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 isassets
License
MIT © Elli & Friends