Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Add hook for attaching extra custom data to different json endpoints #36

Open
TylerBarnes opened this issue Jan 30, 2019 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@TylerBarnes
Copy link
Owner

TylerBarnes commented Jan 30, 2019

The hook should just be something like add_wordsby_collections_data or something like that.
It should pass in the ID of the current post as it loops through all posts and an array of named arrays should be returned.

There should be a hook to add data to the following files

  • collections.json
  • users.json (once this is added)
  • menus.json
  • options.json
  • sitemeta.json
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant