Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions WORKSHOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ import { useState, useEffect, useCallback } from "@wordpress/element";
Add this import after the `DataForm` import:

```js
const { ready } = await import( /* webpackIgnore: true */ '@wordpress/core-abilities' );
await ready;
const { getAbility, executeAbility } = await import( /* webpackIgnore: true */ '@wordpress/abilities' );
```

Expand Down