Added default style file in template
Signed-off-by: prettysunflower <me@prettysunflower.moe>
This commit is contained in:
@@ -40,6 +40,7 @@ register_uninstall_hook(__FILE__, __NAMESPACE__ . '\on_uninstall');
|
||||
|
||||
function on_init(): void
|
||||
{
|
||||
wp_register_style(__NAMESPACE__, plugins_url('assets/styles/style.css', __FILE__));
|
||||
}
|
||||
|
||||
add_action('init', __NAMESPACE__ . '\on_init');
|
||||
|
Reference in New Issue
Block a user