[ 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
return: {boolean} True if the two sets render the same.
param: {number[]} set1 Set of Emoji character codes.
param: {number[]} set2 Set of Emoji character codes.

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
return: {boolean} True if the browser can render emoji, false if it cannot.
param: {string} type Whether to test for support of "flag" or "emoji".

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

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



Generated: Fri Apr 26 01:00:03 2024 Cross-referenced by PHPXref 0.7.1