Filter: bricks/get_terms_options/enable_limit
Enables a limit on the number of taxonomies queried when fetching terms for builder controls. This is useful for sites with a very large number of taxonomies to prevent memory exhaustion.
Parameters
Section titled “Parameters”$enable_limit(bool): Whether to limit the number of queried taxonomies. Default isfalse.
Example usage
Section titled “Example usage”add_filter( 'bricks/get_terms_options/enable_limit', function( $enable_limit ) { // Enable the limit to improve performance on sites with many taxonomies return true;} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.