'wpemoji' =>
apply_filters( 'script_loader_src',
includes_url( "js/wp-emoji.js?
$version"
), 'wpemoji'
),
/** This filter is documented in wp-includes/class-wp-scripts.php */
'twemoji' =>
apply_filters( 'script_loader_src',
includes_url( "js/twemoji.js?
$version"
), 'twemoji'
),
);
} else { $settings['source'
] = array
( /** This filter is documented in wp-includes/class-wp-scripts.php */
'concatemoji' =>
apply_filters( 'script_loader_src',
includes_url( "js/wp-emoji-release.min.js?
$version"
), 'concatemoji'
),
);
} wp_print_inline_script_tag( sprintf( 'window._wpemojiSettings = %s;',
wp_json_encode( $settings ) ) . "\n" .
file_get_contents( ABSPATH . WPINC . '/js/wp-emoji-loader' .
wp_scripts_get_suffix() . '.js'
) );
}/**
* Converts emoji characters to their equivalent HTML entity.
*
* This allows us to store emoji in a DB using the utf8 character set.
*
* @since 4.2.0
*
* @param string $content The content to encode.
* @return string The encoded content.
*/