2022-09-06 03:51:28 +00:00
|
|
|
<!-- wp:heading -->
|
|
|
|
<h2 id="actions-and-filters">Actions and Filters</h2>
|
|
|
|
<!-- /wp:heading -->
|
|
|
|
|
2022-09-10 21:55:53 +00:00
|
|
|
<% if (changes.hooks.size) { %>
|
2022-09-06 03:51:28 +00:00
|
|
|
<!-- wp:table -->
|
|
|
|
<figure class="wp-block-table">
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th><strong>Filter</strong></th>
|
|
|
|
<th><strong>Description</strong></th>
|
|
|
|
</tr>
|
2022-09-10 21:55:53 +00:00
|
|
|
<% changes.hooks.forEach(({ name, description }) => { %>
|
2022-09-06 03:51:28 +00:00
|
|
|
<tr>
|
|
|
|
<td><%= name %></td>
|
|
|
|
<td><%= description %></td>
|
|
|
|
</tr>
|
|
|
|
<% }) %>
|
|
|
|
<!-- end each hook change-->
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</figure>
|
|
|
|
<!-- /wp:table -->
|
|
|
|
<% } else { %>
|
|
|
|
<!-- wp:paragraph -->
|
|
|
|
<p>This release doesn\'t add any actions or filters.</p>
|
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
<% } %>
|