Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Output style tags in wp_head
*
* @return null
*/
function wpe_action_wp_head_styles() {
// Only add this variable on the enterprise form
if ( is_single( 'enterprise-solutions-contact-form' ) ) {
echo '<style type="text/css">.mp6 { content: "\f181" !important; }</style>';
}
}
add_action( 'wp_head', 'wpe_action_wp_head_styles', 999 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment