Check out this part of the WP Codex: Loading scripts only on plugin pages.
The key is to hook in on the admin_print_styles-{page}
action. The {page} part, aka hook suffix, is returned from the add_submenu_page
function.
Check out this part of the WP Codex: Loading scripts only on plugin pages.
The key is to hook in on the admin_print_styles-{page}
action. The {page} part, aka hook suffix, is returned from the add_submenu_page
function.