comment_form_after_fields
Action HookDescription
Fires after the comment fields in the comment form, excluding the textarea.Hook Information
File Location |
wp-includes/comment-template.php
View on GitHub
|
Hook Type | Action |
Line Number | 2850 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into comment_form_after_fields
add_action('comment_form_after_fields', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-includes/comment-template.php:2850
- How this hook is used in WordPress core
<?php
2845 /**
2846 * Fires after the comment fields in the comment form, excluding the textarea.
2847 *
2848 * @since 3.0.0
2849 */
2850 do_action( 'comment_form_after_fields' );
2851 }
2852 }
2853 }
2854
2855 $submit_button = sprintf(
PHP Documentation
<?php
/**
* Fires after the comment fields in the comment form, excluding the textarea.
*
* @since 3.0.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-includes/comment-template.php
Related Hooks
Related hooks will be displayed here in future updates.