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

greenlet_before_topbar

do_action( ‘greenlet_before_topbar’ )

Fires before greenlet_topbar action

This action can be used to render any component or perform any actions before the topbar is rendered.

Example Usage:

function mytheme_render_before_topbar () {
	echo 'Before Topbar';
}

add_action( 'greenlet_before_topbar', 'mytheme_render_before_topbar' );

Registered actions in Greenlet Theme:
greenlet_skip_link in library/frontend/header-structure.php