[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/ -> wp-emoji-loader.js (summary)

(no description)

File Size: 224 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  emojiSetsRenderIdentically()
  browserSupportsEmoji()
  addScript()

Functions
Functions that are not part of a class:

emojiSetsRenderIdentically( set1, set2 )   X-Ref
Checks if two sets of Emoji characters render the same visually.

since: 4.9.0
param: {number[]} set1 Set of Emoji character codes.
param: {number[]} set2 Set of Emoji character codes.
return: {boolean} True if the two sets render the same.

browserSupportsEmoji( type )   X-Ref
Detects if the browser supports rendering emoji or flag emoji.

Flag emoji are a single glyph made of two characters, so some browsers
(notably, Firefox OS X) don't support them.

since: 4.2.0
param: {string} type Whether to test for support of "flag" or "emoji".
return: {boolean} True if the browser can render emoji, false if it cannot.

addScript( src )   X-Ref
Adds a script to the head of the document.

since: 4.2.0
param: {Object} src The url where the script is located.
return: {void}



Generated: Sun Nov 24 01:00:02 2024 Cross-referenced by PHPXref 0.7.1