[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentyone/assets/js/ -> editor-dark-mode-support.js (summary)

(no description)

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

Defines 1 function

  twentytwentyoneDarkModeEditorInit()

Functions
Functions that are not part of a class:

twentytwentyoneDarkModeEditorInit( attempt )   X-Ref
Once the editor loads, add the dark mode class.

Wait for the editor to load by periodically checking for an element, then we add the classes.

return: {void}
since: Twenty Twenty-One 1.0
param: {number} attempt Track the number of tries



Generated: Fri Nov 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1