Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues #113/Limit to specific post types #114

Closed
wants to merge 1 commit into from
Closed

Issues #113/Limit to specific post types #114

wants to merge 1 commit into from

Conversation

2leonardo
Copy link

Adding two filters:
"radio-buttons-for-taxonomies_limit_{$this->taxonomy}" to manipulate the array of enabled posttypes for a specific taxonomy
"radio-buttons-for-taxonomies_walker_{$this->taxonomy}" to control whether to use the Walker_Category_Radio

close #113

@helgatheviking
Copy link
Owner

Thanks for the PR. What's the use case for disabling the Walker_Category_Radio walker? Is that necessary if you don't switch off the radio functionality for a specific post type?

@2leonardo
Copy link
Author

No problems! By just adding the filter on line 84 the filter running during __construct on line 49 still changes the checkboxes to radio inputs

@2leonardo 2leonardo closed this by deleting the head repository Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add UI for supporting/limiting to specific post types
2 participants