I’m working on a site with a performance budget, so I want to be sure to only load certain assets as needed (e.g. via IntersectionObserver, etc).
I know I can omit, say, jQuery, by setting
head_js(false), but is there any way I can selectively choose which assets to return with
I’ve tried to get the output using the methods below but they both return empty strings from
header.php, so I might not be understanding the documentation.
<?php echo get_specific_plugin_hook_output('Geolocation','public_head', array('view'=>$this)); echo get_plugin_hook_output('public_head', array('view'=>$this)); ?>