I started to create a plugin and I want to know how to create sub-menu in the settings page so the user would easily toggle commands on and off using a check box so what I want is:
-how to create a sub-menu
-how to add a check box to it
-use the check box value to toggle functions (php) ON and OFF