WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
199 | <?php |
200 | /** |
201 | * Filters miscellaneous actions for the edit comment form sidebar. |
202 | * |
203 | * @since 4.3.0 |
204 | * |
205 | * @param string $html Output HTML to display miscellaneous action. |
206 | * @param WP_Comment $comment Current comment object. |
207 | */ |
208 | echo apply_filters( 'edit_comment_misc_actions', '', $comment ); |
209 | ?> |
210 |
|
211 | </div> <!-- misc actions --> |
212 | <div class="clear"></div> |
213 | </div> |
214 |
|
215 | <div id="major-publishing-actions"> |
216 | <div id="delete-action"> |
217 | <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url( 'comment.php?action=' . ( ! EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode( wp_get_referer() ), 'delete-comment_' . $comment->comment_ID ) . "'>" . ( ! EMPTY_TRASH_DAYS ? __( 'Delete Permanently' ) : __( 'Move to Trash' ) ) . "</a>\n"; ?> |