Category: Hooks & Filters

Hooks & Filters

How to include styles and scripts on wordpress admin pages?

How do I add CSS and JavaScript to WordPress admin area? InĀ  “admin_enqueue_scripts” hook used to include scripts and css in admin area add_action(‘admin_enqueue_scripts’, function() { wp_enqueue_style( ‘myscript’, PTS_CSS_URL.’/myscript.css’); });