Skip to content

WordPress's Hidden Gem: The wp.ajax Utility #386

Open

Description

@bph

Discussed in #382

Originally posted by andreilupu July 15, 2025
Hey,

I'm proposing the following topic as an article about the wp.ajax utility.
The majority of WordPress developers are not aware of this tool that could cut the number of lines for a simple Ajax code from 15 lines to 3.

I'll leave the draft here for feedback. I'm pretty sure there are things to improve.

https://docs.google.com/document/d/1kwmd3rpWuHRBVtCaTnxa0mVz1Z89QzqiUZMhY6Ugd1g/edit?usp=sharing

Activity

  1. bph commented on Aug 13, 2025

    @bph
    CollaboratorAuthor

    @andreilupu please comment on this issue so I can assign it to you (it's a GitHub quirk). 🤷‍♀️

  2. andreilupu commented on Aug 13, 2025

    @andreilupu

    Hey 👋

  3. bph commented on Aug 13, 2025

    @bph
    CollaboratorAuthor

    Welcome to the developer blog @andreilupu - I am excited to read your first draft. It's a great topic! (No pressure. It's your timing. I am here to support you. )

    In case you haven't yet, please review these links.

    I am happy to answer any questions; just ping me either here or in the #core-dev-blog channel.

  4. andreilupu commented on Aug 15, 2025

    @andreilupu

    Hey @bph thank you for your support and the links. Right now, I'm on vacation, and I'll respond with delays, but I'll go through the links and adjust the draft as soon as I get the chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions