Skip to content

Nonce and Divi Library Layouts #746

@sitehttps

Description

@sitehttps

"On my Divi 5 site, the WP REST nonce (used for core endpoints and visible in window.wpApiSettings.nonce) is fully valid for default endpoints, but every POST and GET on /wp-json/divi/v1/divi-library/item and related endpoints returns 'invalid_nonce', 401 'rest_forbidden', or 404. What is the correct authentication process for adding/injecting Divi Library layouts (as an admin user and plugin) using these routes? Is there a Divi 5 builder public API or are all programmatic layout-injection features now internal/unsupported?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions