Skip to main content

Hooks for assets

Quick reference for where to hook in styles and scripts:

WhereAction
Adminadmin_enqueue_scripts
Frontendwp_enqueue_scripts
Block editor (admin)enqueue_block_editor_assets
Blocks (front and admin)enqueue_block_assets