Cobar is where a marketing team prepares and approves articles. This plugin lets Cobar publish an approved article to your WordPress site.
Without the plugin, Cobar publishes through WordPress's standard REST API. That takes 10 to 15 requests per article and has no place for an SEO title, meta description or structured data, and some hosts turn away that many requests in a row.
With the plugin, Cobar checks that the plugin is installed, then sends the whole article in one request. The plugin:
- uploads the article's images and sets the first one as the featured image,
- creates the post, or finishes one an interrupted attempt started, and publishes it,
- when Yoast SEO or Rank Math is active, writes the SEO title and meta description where that plugin reads them, and puts the article's structured data in that plugin's own JSON-LD in place of its own article entry.
With neither SEO plugin active the article still publishes, and Cobar is told which SEO values were not sent. Sending the same article again never makes a second post.
The plugin prints nothing on your pages by itself. It has no settings screen and no external dependencies.
Security
- Authentication is WordPress's own: an application password for a WordPress user (Users > Profile > Application Passwords).
- Checking the plugin's status needs a user who can write posts. Publishing needs a user who can publish posts, upload files when the article has images, and edit the post when Cobar is finishing one it started.
- Every input is validated and size-limited: images must be real JPEG, PNG or WebP files of at most 10 MB, and the whole request at most 48 MB (or the server's post_max_size, if smaller). Article HTML goes through wp_kses_post and SEO text through sanitize_text_field. A value the sanitizer would change is not written; structured data containing "<" is not written.
- Error messages never repeat what was sent.