Conditionally Load Files in the WordPress Dashboard
Often times when developing plugins we like to include our own JavaScript and CSS files. In this post I explain how to conditionally load files onto targeted pages in the dashboard by passing the $hook parameter into our function.