[wp-trac] [WordPress Trac] #27080: Missing action 'comment_form_after_comment'
WordPress Trac
noreply at wordpress.org
Mon Feb 10 08:13:51 UTC 2014
#27080: Missing action 'comment_form_after_comment'
-------------------------+------------------------------
Reporter: bjoerne | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.8.1
Severity: normal | Resolution:
Keywords: | Focuses: template
-------------------------+------------------------------
Comment (by SergeyBiryukov):
You can use `comment_form_defaults` filter to append your text to
`$args['comment_notes_after']`:
{{{
function comment_form_after_comment_27080( $defaults ) {
$defaults['comment_notes_after'] .= '<p>your content</p>';
return $defaults;
}
add_filter( 'comment_form_defaults', 'comment_form_after_comment_27080' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27080#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list