Octa Editor exposes a small set of filters. All are optional. The defaults are safe.
| Filter |
Purpose |
octa_editor_allowed_post_types |
The post types Octa Editor operates on across every surface. |
octa_editor_allowed_taxonomies |
The taxonomies Octa Editor operates on across every surface. |
octa_editor_known_document_keys |
Extend the set of recognised top-level document keys. |
| Filter |
Purpose |
octa_editor_bulk_cap |
The capability required to use the Add content page. Defaults to edit_posts. |
octa_editor_bulk_limits |
Upload limits. Defaults to max_files 50 and max_bytes 2 MB. |
octa_editor_bulk_post_types |
The post types the bulk importer accepts. |
octa_editor_bulk_taxonomies |
The taxonomies the bulk importer accepts. |
octa_editor_reference_exists |
The oracle a dry-run uses to decide whether a referenced record exists. |
| Filter |
Purpose |
octa_editor_fields_provider |
Replace the custom-fields adapter (ACF by default). |
octa_editor_seo_provider |
Replace the SEO adapter (Yoast or Rank Math by default). |
| Filter |
Purpose |
octa_editor_ability_mcp_public |
Control which abilities are MCP-public. Use it to enable octa-editor/save-document, which is off by default. |
| Filter |
Purpose |
octa_editor_update_repository |
Override the update repository. |
octa_editor_update_branch |
Override the update branch. |
octa_editor_update_token |
Override the update token. |
Raise the bulk upload limit.
add_filter( 'octa_editor_bulk_limits', function ( $limits ) {
$limits['max_files'] = 100;