wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



enqueue_block_assets › WordPress Action Hooks

Seit5.0.0
Veraltetn/v
do_action( 'enqueue_block_assets' )
Definiert in:
Codex:

Fires after enqueuing block assets for both editor and front-end.

Call add_action on any hook before 'wp_enqueue_scripts'.

In the function call you supply, simply use wp_enqueue_script and wp_enqueue_style to add your functionality to the Gutenberg editor.





Quellcode

do_action( 'enqueue_block_assets' );