Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the wp JavaScript object #56221

Open
justintadlock opened this issue Nov 16, 2023 · 2 comments
Open

Document the wp JavaScript object #56221

justintadlock opened this issue Nov 16, 2023 · 2 comments
Labels
[Type] Developer Documentation Documentation for developers

Comments

@justintadlock
Copy link
Contributor

Currently the global wp JavaScript object documentation is very outdated and located in the old Codex: https://codex.wordpress.org/Javascript_Reference/wp I was unable to find anything else on this.

We could use a good handbook page that fully documents this object.

I'm not entirely sure whether this should be a ticket for the Block Editor Handbook or the Common APIs Handbook. But I can move this to the Documentation Issue Tracker if that would be a better place.

@justintadlock justintadlock added the [Type] Developer Documentation Documentation for developers label Nov 16, 2023
@justintadlock
Copy link
Contributor Author

There is some reference to this object in the handbook (hat tip to @juanmaguitar): https://developer.wordpress.org/block-editor/reference-guides/packages/#using-the-packages-via-wordpress-global

@juanmaguitar
Copy link
Contributor

juanmaguitar commented Nov 20, 2023

The recently created PR #56294 covers how to work with the wp object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Developer Documentation Documentation for developers
Projects
None yet
Development

No branches or pull requests

2 participants