Description
The “xclusive_before_comments” action allows to add additional markup just before opening <div id=”comments” > tag. Version 1.1.0+.
A plugin (or theme) can add an action with the code:
<?php add_action( 'xclusive_before_comments', 'action_function_name' ); ?>
The hook is located in the functions.php file.
Example
// apply action function action_xclusive_before_comments() { //run action here echo '<p>text</p>'; } add_action('xclusive_before_comments', 'action_xclusive_before_comments');