[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

WordPress dependencies

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

Defines 1 function

  deprecated()

Functions
Functions that are not part of a class:

deprecated(feature, options = {})   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 : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref