comment_form_must_log_in_after
Action HookDescription
Fires after the HTML-formatted 'must log in after' message in the comment form.Hook Information
File Location |
wp-includes/comment-template.php
View on GitHub
|
Hook Type | Action |
Line Number | 2726 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into comment_form_must_log_in_after
add_action('comment_form_must_log_in_after', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-includes/comment-template.php:2726
- How this hook is used in WordPress core
<?php
2721 /**
2722 * Fires after the HTML-formatted 'must log in after' message in the comment form.
2723 *
2724 * @since 3.0.0
2725 */
2726 do_action( 'comment_form_must_log_in_after' );
2727
2728 else :
2729
2730 printf(
2731 '<form action="%s" method="post" id="%s" class="%s"%s>',
PHP Documentation
<?php
/**
* Fires after the HTML-formatted 'must log in after' message in the comment form.
*
* @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.