1. Home
  2. Docs
  3. Greenlet Hooks
  4. Actions
  5. greenlet_before_left_sidebar


do_action( ‘greenlet_before_left_sidebar’ )

Fires before the first left sidebar or main container of the page if left sidebar does not exist.


This action can be used to render any component or perform any actions before any content is render inside the site-content section tag. It is fired irrespective of the existence of any sidebars.

Example Usage

function mytheme_render_before_left_sidebar () {
	echo 'Before Left Sidebar';

add_action( 'greenlet_before_left_sidebar', 'mytheme_render_before_left_sidebar' );