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 |
---|---|
224 | <?php |
225 | /** |
226 | * Filters miscellaneous actions for the edit comment form sidebar. |
227 | * |
228 | * @since 4.3.0 |
229 | * |
230 | * @param string $html Output HTML to display miscellaneous action. |
231 | * @param WP_Comment $comment Current comment object. |
232 | */ |
233 | echo apply_filters( 'edit_comment_misc_actions', '', $comment ); |
234 | ?> |
235 |
|
236 | </div> <!-- misc actions --> |
237 | <div class="clear"></div> |
238 | </div> |
239 |
|
240 | <div id="major-publishing-actions"> |
241 | <div id="delete-action"> |
242 | <?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"; ?> |