| @@ -108,9 +108,9 @@ | ||
| 108 | 108 | */ |
| 109 | 109 | public function setup_fields(): array { |
| 110 | 110 | $this->blocks = apply_filters( |
| 111 | 111 | 'jet-form-builder/setup-blocks', |
| 112 | - Block_Helper::get_blocks_by_post( $this->form_id ) | |
| 112 | + Block_Helper::get_blocks_by_post( $this->form_id, true, true ) | |
| 113 | 113 | ); |
| 114 | 114 | |
| 115 | 115 | jet_form_builder()->regexp->set_field_names( |
| 116 | 116 | Block_Helper::get_form_field_names( $this->blocks ) |