[ 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.

return: {WPPlugin} The final plugin settings object.
param: {string}   name     A string identifying the plugin.Must be
param: {WPPlugin} settings The settings for this plugin.

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

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

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

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

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

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

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.

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

memoized( )   X-Ref
No description

__webpack_require__(moduleId)   X-Ref
No description

_extends()   X-Ref
No description



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1