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 |
---|---|
166 | <?php |
167 | /** |
168 | * Filters miscellaneous actions for the edit comment form sidebar. |
169 | * |
170 | * @since 4.3.0 |
171 | * |
172 | * @param string $html Output HTML to display miscellaneous action. |
173 | * @param object $comment Current comment object. |
174 | */ |
175 | echo apply_filters( 'edit_comment_misc_actions', '', $comment ); |
176 | ?> |
177 |
|
178 | </div> <!-- misc actions --> |
179 | <div class="clear"></div> |
180 | </div> |
181 |
|
182 | <div id="major-publishing-actions"> |
183 | <div id="delete-action"> |
184 | <?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"; ?> |