packages/kirki-framework/module-editor-styles/src/Module.php
public function enqueue_fontawesome() {
		foreach ( $this->configs as $config_id => $args ) {

			if ( $this->is_disabled( $args ) ) {
				continue;
			}
			$modules_css = $this->modules_css;
			if ( $modules_css::get_enqueue_fa() && apply_filters( 'kirki_load_fontawesome', true ) ) { // phpcs:ignore PHPCompatibility.Syntax.NewDynamicAccessToStatic
				wp_enqueue_script( 'kirki-fontawesome-font', 'https://use.fontawesome.com/30858dc40a.js', [], '4.0.7', true );
			}

			return;
		}
	}
public function enqueue_fontawesome() {
		foreach ( $this->configs as $config_id => $args ) {

			if ( $this->is_disabled( $args ) ) {
				continue;
			}
			$modules_css = $this->modules_css;
			if ( $modules_css::get_enqueue_fa() && apply_filters( 'kirki_load_fontawesome', true ) ) { // phpcs:ignore PHPCompatibility.Syntax.NewDynamicAccessToStatic
				wp_enqueue_script( 'kirki-fontawesome-font', 'https://use.fontawesome.com/30858dc40a.js', [], '4.0.7', true );
			}

			return;
		}
	}
public function enqueue_fontawesome ( ) { foreach ( $ this -> configs as $ config_id => $ args ) { if ( $ this -> is_disabled ( $ args ) ) { continue ; } $ modules_css = $ this -> modules_css ; if ( $ modules_css :: get_enqueue_fa ( ) && apply_filters ( 'kirki_load_fontawesome' , true ) ) { // phpcs:ignore PHPCompatibility.Syntax.NewDynamicAccessToStatic wp_enqueue_script ( 'kirki-fontawesome-font' , 'https://use.fontawesome.com/30858dc40a.js' , [ ] , '4.0.7' , true ) ; } return ; } }
Enqueue fontawesome in Gutenberg Editor.

@access public
@since 3.0.35
Enqueue fontawesome in Gutenberg Editor .