This PHP code snippet will add a stylesheet located inside your plugin’s folder (website.com/wp-content/[pluginName]/) to the WordPress website.
You can add the stylesheet to:
- The WordPress admin area
- The website frontend
- The WordPress login screen
- All of the above
Simply remove any add_action lines that you don’t need, or leave all three lines as they are to load the stylesheet everywhere.