Filter: bricks/export_template_args
Filters the URL arguments used for the “Export Template” link in the Bricks templates list table.
Parameters
Section titled “Parameters”$args(array): Array of query arguments for the export URL (e.g.,action,nonce,templateId).$post_id(int): The ID of the template being exported.
Example usage
Section titled “Example usage”add_filter( 'bricks/export_template_args', function( $args, $post_id ) { // Example: Add a custom parameter to the export URL $args['my_param'] = 'value';
return $args;}, 10, 2 );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.