Mark Chouinard / January 17, 2014 Enqueue script on certain page add_action( 'admin_enqueue_scripts', 'admin_enqueue_scripts_example' ); function admin_enqueue_scripts_example( $hook ) { if( 'edit.php' != $hook ) { return; } wp_enqueue_script( 'my_custom_script', plugin_dir_url( __FILE__ ) . 'myscript.js' ); }