[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

(no description)

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

Defines 1 class

plugin_area_PluginArea:: (1 method):
  _extends()

Defines 1 function

  __webpack_require__()
  getDefault()
  getModuleExports()
  memize()
  memoized()
  registerPlugin()
  unregisterPlugin()
  getPlugin()
  getPlugins()

Class: plugin_area_PluginArea  - X-Ref

A component that renders all plugin fills in a hidden div.

_extends()   X-Ref
No description

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

memize( fn, options )   X-Ref
Accepts a function to be memoized, and returns a new memoized function, with
optional options.

param: {F}             fn        Function to memoize.
param: {MemizeOptions} [options] Options object.
return: {F & MemizeMemoizedFunction} Memoized function.

memoized( )   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
param: {WPPlugin} settings The settings for this plugin.
return: {WPPlugin} 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: {?WPPlugin} Plugin setting.

getPlugins(scope)   X-Ref
Returns all registered plugins without a scope or for a given scope.

param: {string} [scope] The scope to be used when rendering inside
return: {WPPlugin[]} The list of plugins without a scope or for a given scope.



Generated: Sun Oct 24 01:00:03 2021 Cross-referenced by PHPXref 0.7.1