Skip to content

Conversation

@Menrath
Copy link
Contributor

@Menrath Menrath commented Dec 27, 2025

The Following table is not filterable by the default WordPress filters like "manage_{$post_type}_posts_columns". Thats why this PR introduces custom filters. I wonder whether passing the whole table instance as a filter parameter is too much, maybe just $this->user_id is sufficient.

Other information:

I offer to write tests and will provide changelog entries etc., after initial review about this feature idea.

Background:

The idea came up while porting the "Event Sources" feature of the "Event Bridge For ActivityPub" to the new following structure. I wanted to add a boolean switch to import remote events to the sites calendar, to not do so from all followings but the selected ones. My intuition was to avoid having to manage this feature on two pages (one for adding the following, and a second one for activating existing followings).

  • Automatically create a changelog entry

@pfefferle
Copy link
Member

Don't forget to add the changelog definition.

@Menrath Menrath force-pushed the feat_make_following_columns_filterable branch from d8f33a3 to ca1759e Compare December 28, 2025 10:41
@Menrath Menrath closed this Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants