Hello,
I am trying to add a custom query to container loop. What will be the control option to show it on front-end? Filter: bricks/setup/control_options – Bricks Academy
Hello,
I am trying to add a custom query to container loop. What will be the control option to show it on front-end? Filter: bricks/setup/control_options – Bricks Academy
@timmse This is what I am trying with and the option does not show in Query loop.
add_filter( 'bricks/setup/control_options', function( $control_options ) {
$control_options['queryTypes']['Test'] = esc_html__( 'Test', 'bricks' );
return $control_options;
} );
Oh! Updating from 1.3.7 to 1.4 made the control appear.