wordpress/wp-content/themes/basic/themify/themify-fontello.php
/**
 * Returns the URL to Fontello stylesheet
 *
 * @return string|false
 */
Returns the URL to Fontello stylesheet
@return string|false
Returns the URL to Fontello stylesheet @return string|false
function themify_fontello_get_stylesheet() {
	$path = themify_fontello_path();
	if ( ! $path ) {
		return false;
	}
	if ( ! file_exists( $path['dir'] . 'css/themify-fontello.css' ) ) {
		$prefix = themify_fontello_get_config( 'css_prefix_text', 'icon-' );
		$stylesheet = file_get_contents( $path['dir'] . 'css/' . themify_fontello_get_config( 'name', 'fontello' ) . '-embedded.css' );
		$stylesheet = preg_replace( '/'. $prefix .'/', 'tf_fontello-', $stylesheet );
		file_put_contents( $path['dir'] . 'css/themify-fontello.css', $stylesheet );
	}
	if ( file_exists( $path['dir'] . 'css/themify-fontello.css' ) ) {
		return $path['url'] . 'css/themify-fontello.css';
	} else {
		return false;
	}
}
function themify_fontello_get_stylesheet ( ) { $ path = themify_fontello_path ( ) ; if ( ! $ path ) { return false ; } if ( ! file_exists ( $ path [ 'dir' ] . 'css/themify-fontello.css' ) ) { $ prefix = themify_fontello_get_config ( 'css_prefix_text' , 'icon-' ) ; $ stylesheet = file_get_contents ( $ path [ 'dir' ] . 'css/' . themify_fontello_get_config ( 'name' , 'fontello' ) . '-embedded.css' ) ; $ stylesheet = preg_replace ( '/' . $ prefix . '/' , 'tf_fontello-' , $ stylesheet ) ; file_put_contents ( $ path [ 'dir' ] . 'css/themify-fontello.css' , $ stylesheet ) ; } if ( file_exists ( $ path [ 'dir' ] . 'css/themify-fontello.css' ) ) { return $ path [ 'url' ] . 'css/themify-fontello.css' ; } else { return false ; } }
Returns the URL to Fontello stylesheet
 @return string|false
Returns the URL to Fontello stylesheet @return string|false
// replace the prefix for icons