[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/ -> reusable-blocks.js (summary)

WordPress dependencies

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

Defines 6 functions

  __experimentalSetEditingReusableBlock()
  isEditingReusableBlock()
  __experimentalIsEditingReusableBlock()
  ReusableBlockConvertButton()
  ReusableBlocksManageButton()
  ReusableBlocksMenuItems()

Functions
Functions that are not part of a class:

__experimentalSetEditingReusableBlock(clientId, isEditing)   X-Ref
Returns an action descriptor for SET_EDITING_REUSABLE_BLOCK action.

param: {string}  clientId  The clientID of the reusable block to target.
param: {boolean} isEditing Whether the block should be in editing state.
return: {Object} Action descriptor.

isEditingReusableBlock(state = {}, action)   X-Ref
WordPress dependencies


__experimentalIsEditingReusableBlock(state, clientId)   X-Ref
Returns true if reusable block is in the editing state.

param: {Object} state    Global application state.
param: {number} clientId the clientID of the block.
return: {boolean} Whether the reusable block is in the editing state.

ReusableBlockConvertButton({clientIds,rootClientId,onClose})   X-Ref
No description

ReusableBlocksManageButton({clientId})   X-Ref
No description

ReusableBlocksMenuItems({rootClientId})   X-Ref
No description



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref