-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gatsby-source-wordpress): Support on plugin init (#33080)
* use onplugininit if core supports it * fix name
- Loading branch information
1 parent
721b2dc
commit b9f114f
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
export const CREATED_NODE_IDS = `WPGQL-created-node-ids` | ||
export const LAST_COMPLETED_SOURCE_TIME = `WPGQL-last-completed-source-time` | ||
export const MD5_CACHE_KEY = `introspection-node-query-md5` | ||
export const INITIALIZE_PLUGIN_LIFECYCLE_NAME_MAP = { | ||
unstable: `unstable_onPluginInit`, | ||
stable: `onPluginInit`, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters