[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Memize options object.

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

Defines 2 classes

PluginErrorBoundary:: (4 methods):
  registerPlugin()
  unregisterPlugin()
  getPlugin()
  getPlugins()

PluginArea:: (0 methods):

Defines 0 functions

  memize()
  memoized()
  __webpack_require__()
  _extends()

Class: PluginErrorBoundary  - X-Ref

WordPress dependencies

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.

Class: PluginArea  - X-Ref

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

Functions
Functions that are not part of a class:

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

__webpack_require__(moduleId)   X-Ref
No description

_extends()   X-Ref
No description



Generated: Sat Aug 13 01:00:02 2022 Cross-referenced by PHPXref 0.7.1