Filter: bricks/dynamic_data/allowed_keys
Filters the allowed argument keys (modifiers) that can be parsed in dynamic data tags (e.g., {post_title:my_key}). This allows you to introduce custom arguments for your dynamic tags.
Parameters
Section titled “Parameters”$allowed_keys(array): Array of allowed argument keys. Defaults includefallback,fallback-image,sanitize,exclude,start-at,pad,key,is-array,date,from,to.
Example usage
Section titled “Example usage”add_filter( 'bricks/dynamic_data/allowed_keys', function( $allowed_keys ) { // Add 'limit' as an allowed argument key $allowed_keys[] = 'limit';
return $allowed_keys;} );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.