1 vote
Accepted

Add php code to wp_print_scripts?

You can use admin_footer or admin_head like below. This code only run on admin. You can also use for frontend by using wp_head or wp_footer function shapeSpace_print_scripts() { $block_yt_url = '...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible