Changes to the Interactivity API in WordPress 6.9

Standardized API to set unique IDs in directives
HTML does not allow multiple attributes with the same name on a single element, yet multiple plugins may need to add directives of the same type to the same element. To address this, WordPress 6.9 introduces a standardized way to assign unique IDs to Interactivity API directives, allowing an element to have multiple directives of the same type, as long as each directive has a different ID.

This post was originally published on Make Core by David Arenas.

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.