mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-23 04:13:53 +02:00
f844d0a075
With the move to /admin and /public directory, the class-plugin-name-admin.php needed to be changed to use __DIR__ instead of __FILE__ to create the $plugin_basename, otherwise the hook would be something like plugin_action_links_plugin-name/admin/plugin-name.php which doesn't work. |
||
---|---|---|
.. | ||
assets | ||
includes | ||
views | ||
class-plugin-name-admin.php |