Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_comment_misc_actions

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
144 <?php
145      /**
146       * Filters miscellaneous actions for the edit comment form sidebar.
147       *
148       * @since 4.3.0
149       *
150       * @param string $html    Output HTML to display miscellaneous action.
151       * @param object $comment Current comment object.
152       */
153       echo apply_filters( 'edit_comment_misc_actions', '', $comment );
154 ?>
155
156 </div> <!-- misc actions -->
157 <div class="clear"></div>
158 </div>
159
160 <div id="major-publishing-actions">
161 <div id="delete-action">
162 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=" . ( !EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&amp;c=$comment->comment_ID&amp;_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "</a>\n"; ?>