Skip to content

Commit

Permalink
Update the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 24, 2018
1 parent bca2ef3 commit 5848ccd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 56 deletions.
21 changes: 0 additions & 21 deletions docs/data/data-core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ Returns the name of the default block name.

Default block name.

### getFallbackBlockName

Returns the name of the fallback block name.

*Parameters*

* state: Data state.

*Returns*

Fallback block name.

### getFreeformFallbackBlockName

Returns the name of the block for handling non-block content.
Expand Down Expand Up @@ -177,15 +165,6 @@ Returns an action object used to remove a registered block type.

Returns an action object used to set the default block name.

*Parameters*

* name: Block name.

### setFallbackBlockName

Returns an action object used to set the name of the block used as a fallback
for non-block content.

*Parameters*

* name: Block name.
Expand Down
36 changes: 1 addition & 35 deletions docs/data/data-core-edit-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,6 @@ When the value is not set it defaults to true.

Whether the plugin item is pinned.

### getMetaBoxes

Returns the state of legacy meta boxes.

*Parameters*

* state: Global application state.

*Returns*

State of meta boxes.

### getActiveMetaBoxLocations

Returns an array of active meta box locations.
Expand Down Expand Up @@ -247,19 +235,6 @@ Returns the list of all the available meta boxes.

List of meta boxes.

### getMetaBox

Returns the state of legacy meta boxes.

*Parameters*

* state: Global application state.
* location: Location of the meta box.

*Returns*

State of meta box at specified location.

### hasMetaBoxes

Returns true if the post is using Meta Boxes
Expand Down Expand Up @@ -379,13 +354,4 @@ Returns an action object used to request meta box update.

### metaBoxUpdatesSuccess

Returns an action object used signal a successful meta box update.

### setMetaBoxSavedData

Returns an action object used to set the saved meta boxes data.
This is used to check if the meta boxes have been touched when leaving the editor.

*Parameters*

* dataPerLocation: Meta Boxes Data per location.
Returns an action object used signal a successful meta box update.

0 comments on commit 5848ccd

Please sign in to comment.