Site logo

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

Home Forums Support [Resolved] Suggestion: Add Filter fo Choosing Non-Public Taxonomies for Dynamic Content

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2406180
    David R

    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 ] )
    );
    #2406242
    David
    Staff
    Customer Support

    Hi there,

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

    #2406245
    David R

    Thank you, David.

    #2406314
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.