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

greenlet_footer

do_action( ‘greenlet_footer’ )

Fires after greenlet_before_footer and before greenlet_after_footer

This action can be used to render any component or perform any actions before the footer is rendered by specifying the $priority less than 10 and after the footer is rendered by specifying the $priority greater than 10

Example Usage:

function mytheme_do_something() {
	// do_something();
}

add_action( 'greenlet_footer', 'mytheme_do_something' );

Registered actions in Greenlet Theme:
greenlet_do_footer in library/frontend/footer-structure.php
greenlet_do_footer renders the Site Footer.

Footer rendering can be completely removed with:

function mytheme_remove_footer() {
	remove_action( 'greenlet_footer', 'greenlet_do_footer' );
}
add_action( 'greenlet_init', 'mytheme_remove_footer', 20 );