Site logo

Archived topic

Suggestion: Add Filter fo Choosing Non-Public Taxonomies for Dynamic Content

3 replies · Started by David R on November 8, 2022

Viewing posts 1–4 of 4

I understand why the default is for dynamic content "List of terms" to only offer public taxonomies to select, but sometimes that can be overly limiting for developers. May I suggest that a simple filter be added to the get_taxonomies() arguments in the enqueue_assets() function in class-block-elements.php?

@ Line 80

$taxonomies = get_taxonomies(
	apply_filters( 'generate_get_taxonomies_args', [ 'public' => true ] )
);

Hi there,

thanks for the suggestion, ill raise a GitIssue so we can review that !

Thank you, David.

You're welcome

This archived topic is closed to new replies.