Skip to content

Overview

Add-on for WP2LMS. Embed packages (CPT wp2lms_embed_pkg) use {product}/{slug}/v1: wp2lms-pro/embed-packages/v1. Capability: manage_network on multisite, edit_pages on a single site. Cookie + X-WP-Nonce or Application Password. Query blog_id is the network site to run the operation on (not a package id and not page_id). Omit it and PHP uses the current blog. Minimum 1; blog_id < 1 is 400 embed_packages_invalid_blog. On a single site a foreign id is 400 embed_packages_invalid_blog. In a network an unknown site or a site from another network is 404 embed_packages_unknown_blog.

Information

  • OpenAPI version: 3.0.3

WordPress logged-in cookie session plus REST nonce header X-WP-Nonce.

Security scheme type: apiKey

Header parameter name: X-WP-Nonce

WordPress Application Password (DualRest).

Security scheme type: http