Filter: bricks/get_builder_edit_link
Filters the “Edit with Bricks” URL generated for a post. This allows you to append custom query parameters or modify the link structure.
Parameters
Section titled “Parameters”$url(string): The “Edit with Bricks” URL.$post_id(int): The ID of the post.
Example usage
Section titled “Example usage”add_filter( 'bricks/get_builder_edit_link', function( $url, $post_id ) { // Example: Append a custom parameter to the builder URL return add_query_arg( 'my_param', 'value', $url );}, 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.