I've got me a small plugin (wp youtube lyte) which uses some external javascript (jquery plugins zrssfeed & cookie) for the presentation on the plugin's admin page.
I am now using
add_action( 'admin_print_scripts', 'lyte_admin_scripts' );
to call the function that enqueues my javascript files, but this adds the JS on every admin-page which is not needed (and even unwanted).
Based on what I read in this article on prevolac.com it is possible to specify the exact page on which the script is supposed to be loaded with something like:
add_action( "admin_print_scripts-options.php", 'my_admin_scripts' );
function my_admin_scripts() {
// wp_enqueue_script...
}
So my question: if the admin-page which I want the JS to be included in resides at wp-admin/options-general.php?page=wp-youtube-lyte/options.php, what should the correct admin_print_scripts- suffix be? I've tried various combinations and can't seem to find the correct one?