Topic: Filters - Developer

  • Filter: bricks/builder/color_palette

    Place and customize the following filter to display a different default color palette for the color control. add_filter( 'bricks/builder/color_palette', function( $colors ) { // Option #1: Add an individual color…

  • Filter: bricks/builder/i18n

    Place and customize the following filter to add translatable string to the builder. add_filter( 'bricks/builder/i18n', function( $i18n ) { // Example: Provide translatable string for element category 'custom' $i18n['custom'] =…

  • Filter: bricks/builder/map_styles

    This filter allows you to define your own custom map styles for the Map element. The example below shows how we added a custom map style fromhttps://snazzymaps.com/style/38/shades-of-grey to the builder.…

  • Filter: bricks/builder/save_messages

    Place and customize the following filter to display different save message every time you manually save your progress when editing with Bricks. add_filter( 'bricks/save_messages', function( $messages ) { // Option…

  • Filter: bricks/builder/standard_fonts

    Place and customize the following filter to display a different set of web-safe fonts in the typography control. add_filter( 'bricks/builder/standard_fonts', function( $standard_fonts ) { // Option #1: Add individual standard…