Adds related collection id and metadadum id information as data attributes in the related items html.

This commit is contained in:
mateuswetah 2023-06-22 10:58:23 -03:00
parent 59810f4ec1
commit 3c350e45d8
1 changed files with 1 additions and 1 deletions

View File

@ -1295,7 +1295,7 @@ class Theme_Helper {
}
}
$output .= '<div class="wp-block-group">
$output .= '<div class="wp-block-group" data-related-collection-id="' . $related_group['collection_id'] . '" data-related-metadata-id="' . $related_group['metadata_id'] . '">
<div class="wp-block-group__inner-container">' .
/**
* Note to code reviewers: This lines doesn't need to be escaped.