Filter: bricks/woocommerce/predefined_elements/remote_url
Filters the remote URL Bricks uses to fetch WooCommerce predefined element presets. Return an empty string to keep remote fetching disabled.
When a URL is returned, Bricks appends schemaVersion, site, and time query arguments before making the request.
Parameters
Section titled “Parameters”$remote_url(string): The remote preset endpoint URL.
Example usage
Section titled “Example usage”add_filter( 'bricks/woocommerce/predefined_elements/remote_url', function( $remote_url ) { return 'https://example.com/bricks-woo-presets.json';} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Thanks for sharing feedback. We're using it to improve these docs.