xclusive_before_sidebar_content

Description

The “xclusive_before_sidebar_content” action allows to add additional markup just after opening tag <div class=”sidebar-inner”> tag. Version 1.1.0+.

A plugin (or theme) can add an action with the code:

<?php add_action( 'xclusive_before_sidebar_content', 'action_function_name' ); ?>

The hook is located in the functions.php file.

Example

// apply action
function action_xclusive_before_sidebar_content() {
//run action here
echo '<p>text</p>';
}
add_action('xclusive_before_sidebar_content', 'action_xclusive_before_sidebar_content');

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *