[ Index ]

PHP Cross Reference of WordPress




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

WordPress dependencies

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

Defines 1 function


Functions that are not part of a class:

deprecated(feature)   X-Ref
Logs a message to notify developers about a deprecated feature.

param: {string} feature               Name of the deprecated feature.
param: {Object} [options]             Personalisation options
param: {string} [options.since]       Version in which the feature was deprecated.
param: {string} [options.version]     Version in which the feature will be removed.
param: {string} [options.alternative] Feature to use instead
param: {string} [options.plugin]      Plugin name if it's a plugin feature
param: {string} [options.link]        Link to documentation
param: {string} [options.hint]        Additional message to help transition away from the deprecated feature.

Generated: Mon Aug 15 01:00:02 2022 Cross-referenced by PHPXref 0.7.1