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