[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

(no description)

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

Defines 21 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _defineProperty()
  _defineProperties()
  _createClass()
  _classCallCheck()
  _possibleConstructorReturn()
  _getPrototypeOf()
  _setPrototypeOf()
  _inherits()
  _extends()
  _typeof2()
  _typeof()
  registerPlugin()
  unregisterPlugin()
  getPlugin()
  getPlugins()
  PluginArea()
  _assertThisInitialized()
  _objectSpread()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_getPrototypeOf(o)   X-Ref
No description

_setPrototypeOf(o, p)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

_extends()   X-Ref
No description

_typeof2(obj)   X-Ref
No description

_typeof(obj)   X-Ref
No description

registerPlugin(name, settings)   X-Ref
Registers a plugin to the editor.

param: {string}                    name            A string identifying the plugin. Must be unique across all registered plugins.
param: {Object}                    settings        The settings for this plugin.
param: {string|WPElement|Function} settings.icon   An icon to be shown in the UI. It can be a slug of the Dashicon,
param: {Function}                  settings.render A component containing the UI elements to be rendered.
return: {Object} The final plugin settings object.

unregisterPlugin(name)   X-Ref
Unregisters a plugin by name.

param: {string} name Plugin name.
return: {?WPPlugin} The previous plugin settings object, if it has been

getPlugin(name)   X-Ref
Returns a registered plugin settings.

param: {string} name Plugin name.
return: {?Object} Plugin setting.

getPlugins()   X-Ref
Returns all registered plugins.

return: {Array} Plugin settings.

PluginArea()   X-Ref
No description

_assertThisInitialized(self)   X-Ref
No description

_objectSpread(target)   X-Ref
No description



Generated: Mon Sep 23 01:00:03 2019 Cross-referenced by PHPXref 0.7.1