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

greenlet_after_entry

do_action( ‘greenlet_after_entry’ )

Fires after entry article tag.

Description

This action can be used to render any content or perform any actions after the article tag.

Example Usage:

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

add_action( 'greenlet_after_entry', 'mytheme_after_entry' );

Notes

Registered actions in Greenlet Theme:

greenlet_comments_template in library/frontend/main-structure.php
greenlet_comments_template renders Comments template.

Remove Comments Template

Comments template rendering can be completely removed with:

function mytheme_remove_comments() {
	remove_action( 'greenlet_after_entry', 'greenlet_comments_template' );
}
add_action( 'greenlet_init', 'mytheme_remove_comments', 20 );