Skip to content

Commit 89b56f5

Browse files
Pass presentation and image metadata to settings client
Include the feature presentation style and image URL in the data sent to the settings page script module so the frontend can render visual-card experiments differently.
1 parent b579089 commit 89b56f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/bootstrap.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ function get_settings_feature_metadata( Registry $registry ): array {
232232
'description' => wp_strip_all_tags( $feature->get_description() ),
233233
'category' => $category,
234234
'settingsFields' => $feature->get_settings_fields_metadata(),
235+
'presentation' => $feature->get_presentation(),
236+
'image' => $feature->get_image(),
235237
);
236238
}
237239

0 commit comments

Comments
 (0)