Loading custom js file on the admin page through plugin July 18, 2022 by Tarik Billa I think you just have to change your hook ! admin_enqueue_scripts for admin instead of wp_enqueue_scripts 🙂