Adds related collection id and metadadum id information as data attributes in the related items html.
This commit is contained in:
parent
59810f4ec1
commit
3c350e45d8
|
@ -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">' .
|
<div class="wp-block-group__inner-container">' .
|
||||||
/**
|
/**
|
||||||
* Note to code reviewers: This lines doesn't need to be escaped.
|
* Note to code reviewers: This lines doesn't need to be escaped.
|
||||||
|
|
Loading…
Reference in New Issue