[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> warning.js (summary)

Object map tracking messages which have been logged, for use in ensuring a message is only logged once.

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

Defines 2 functions

  isDev()
  warning()

Functions
Functions that are not part of a class:

isDev()   X-Ref
Internal dependencies


warning(message)   X-Ref
Shows a warning with `message` if environment is not `production`.

param: {string} message Message to show in the warning.



Generated: Sun Aug 14 01:00:02 2022 Cross-referenced by PHPXref 0.7.1