refactor: remove plugin name constant

This commit is contained in:
Ben Goldsworthy 2021-04-27 09:30:53 +01:00
parent 6fb2b20424
commit 51f3f92c26
7 changed files with 65 additions and 22 deletions

View file

@ -86,7 +86,7 @@ class Footnotes_Admin {
*/
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/layout/class-footnotes-layout-init.php';
new Footnotes_Layout_Init();
new Footnotes_Layout_Init($this->plugin_name);
}
/**