Skip to content

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.

  • $remote_url (string): The remote preset endpoint URL.
add_filter( 'bricks/woocommerce/predefined_elements/remote_url', function( $remote_url ) {
return 'https://example.com/bricks-woo-presets.json';
} );