Skip to content

Yoast SEO 28.1 — docs(customization-free): Document new wpseo_bulk_editor_excluded_post_types filter#415

Open
claude[bot] wants to merge 2 commits into
mainfrom
rc-sync/wordpress-seo/28.1-RC5/customization-free
Open

Yoast SEO 28.1 — docs(customization-free): Document new wpseo_bulk_editor_excluded_post_types filter#415
claude[bot] wants to merge 2 commits into
mainfrom
rc-sync/wordpress-seo/28.1-RC5/customization-free

Conversation

@claude

@claude claude Bot commented Jul 16, 2026

Copy link
Copy Markdown

RC docs sync — 28.1-RC5

Product: wordpress-seo
Area: customization-free
Source evidence:

  • src/bulk-editor/infrastructure/content-types/content-types-collector.php (line ~597): new apply_filters( 'wpseo_bulk_editor_excluded_post_types', [ 'attachment' ] ) — allows excluding post types from the bulk editor; default excludes attachment.

Changes in this PR

  • docs/customization/yoast-seo/filters/bulk-editor-excluded-post-types-filter.md — new page documenting the wpseo_bulk_editor_excluded_post_types filter with add and remove examples
  • sidebars.js — adds the new page to the Yoast SEO filters navigation group

Verification

  • yarn build passes locally in this workflow.
  • yarn lint clean for files touched by this PR.

Reviewer notes

  • The filter is defined in a private method (get_excluded_post_types) inside Content_Types_Collector. It has no @internal annotation, its path is outside /admin/ and /user-interface/, and the default exclusion of attachment is documented in the filter's PHPDoc. Treated as public.
  • The changelog entry for 28.1 mentions "Redesigns the bulk editor page, which allows users to edit Metadata for multiple posts at once." — this filter is the developer-facing customization hook for that redesign.

Authored by the RC docs-sync agent. Not auto-merged — requires human review. Run: https://github.com/Yoast/developer/actions/runs/29478259947

…t_types filter

Introduced in 28.1-RC5. New public filter allows developers to control
which post types appear in the Yoast SEO bulk editor. Default exclusion
list is ['attachment'].
@claude claude Bot added rc-doc-sync RC documentation sync PR product/wordpress-seo Related to Yoast SEO for WordPress area/customization-free Related to customization of Yoast SEO (free) rc/28.1-RC5 RC docs sync for Yoast SEO 28.1-RC5 labels Jul 16, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploying yoast-developer with  Cloudflare Pages  Cloudflare Pages

Latest commit: a2c6833
Status: ✅  Deploy successful!
Preview URL: https://8ee7c2bf.yoast-developer.pages.dev
Branch Preview URL: https://rc-sync-wordpress-seo-28-1-r-te8c.yoast-developer.pages.dev

View logs

Comment thread docs/customization/yoast-seo/filters/bulk-editor-excluded-post-types-filter.md Outdated

@leonidasmi leonidasmi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/customization-free Related to customization of Yoast SEO (free) product/wordpress-seo Related to Yoast SEO for WordPress rc/28.1-RC5 RC docs sync for Yoast SEO 28.1-RC5 rc-doc-sync RC documentation sync PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant