frdl / oidplus-wtf-plugin
Shimmy shimmy WTF functions polyfill
Fund package maintenance!
wehowski
webfan.de/sponsor-me
domainundhomepagespeicher.de
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:oiplus-plugin-public-pages
Suggests
- danielmarschall/oidplus: The main project, this must be your root composer.json project!
- frdl/oiplus-composer-plugin: Make this what the work with composer
README
Shimmy shimmy WTF functions polyfill
OIDplus location
Copy the plugin to plugins/frdl/publicPages/zzzzzzzz_wtf wtf this MUST run as LAST publicPages Plugin!
WTF is this?
In short:
I definitely do NOT like worpress code. This SHOULD be a reason we MUST shim it to the OIDplus core!
Inspired by
Example:
https://gist.github.com/wehowski/d16a4ce9cdeb5da1e90f9a7b28b6ffdb#file-plugin-php
Plugins:
The additional plugins Plugin (this one) is searching for pluginfiles in:
- userdata/plugins/{vendor}/{plugintype}/{pluginname}/wtf-plugin.php
- userdata/{tenantdir}/{vendor}/{plugintype}/{pluginname}/wtf-plugin.php
- plugins/{vendor}/{plugintype}/{pluginname}/wtf-plugin.php <--- Old/regular Plugins
- userdata_pub/plugins/{vendor}/{plugintype}/{pluginname}/wtf-plugin.php
- userdata_pub/{tenantdir}/{vendor}/{plugintype}/{pluginname}/wtf-plugin.php
If IO4 is installed, it uses its invoker method, otherwise a simple call_user_func, however for plugins this final callable/closure is optional to use or not.