Documentation Functions vip-helper-wpcom.php wpcom_vip_load_geolocation_styles_only_when_needed()

wpcom_vip_load_geolocation_styles_only_when_needed

Conditionally dequeues the geo-location-flair.css

geo-location-flair.css is by default loaded on every pageload, but may be needed only on single post with visible geo information

call this function from functions.php to limit the loading of geo-location-flair.css

Parameters

Name Type Description
This function has no parameters.

Return Value

void