Filter: bricks/export_template_args
Filter: bricks/export_template_args
Section titled “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 page helpful?