32 lines
868 B
Plaintext
32 lines
868 B
Plaintext
<!-- wp:heading -->
|
|
<h2 id="actions-and-filters">Actions and Filters</h2>
|
|
<!-- /wp:heading -->
|
|
|
|
<% if (changes.hooks.size) { %>
|
|
<!-- wp:table -->
|
|
<figure class="wp-block-table">
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<th><strong>Filter</strong></th>
|
|
<th><strong>Description</strong></th>
|
|
<th><strong>GitHub Link</strong></th>
|
|
</tr>
|
|
<% changes.hooks.forEach(({ name, description, ghLink }) => { %>
|
|
<tr>
|
|
<td><%= name %></td>
|
|
<td><%= description %></td>
|
|
<td><a target="_blank" href="<%= ghLink %>">Link</a></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 -->
|
|
<% } %>
|