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

greenlet_semifooter

do_action( ‘greenlet_semifooter’ )

Fires after greenlet_before_semifooter and before greenlet_after_semifooter

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

Example Usage:

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

add_action( 'greenlet_semifooter', 'mytheme_do_something' );

Registered actions in Greenlet Theme:
greenlet_do_semifooter in library/frontend/footer-structure.php
greenlet_do_semifooter renders the semifooter if enabled via Customizer.

Semifooter rendering can be completely removed with:

function mytheme_remove_semifooter() {
	remove_action( 'greenlet_semifooter', 'greenlet_do_semifooter' );
}
add_action( 'greenlet_init', 'mytheme_remove_semifooter', 20 );