Skip to main content

benecaster_guest_manager_after_guest_page

Action Premium guest-manager

Fires on a guest’s public page (/guests/{slug}/), after the guest’s episodes and before the theme footer.

Parameters

Name Type Default Description
$guest_id int — The guest whose page is shown

Example

add_action( 'benecaster_guest_manager_after_guest_page', function ( int $guest_id ): void {
    echo '<p class="my-booking-cta"><a href="/be-a-guest/">Want to be on the show?</a></p>';
} );

Notes

Fired from the guest/single.php template, so a theme override of that template that leaves the call out does not fire it. Walkthrough: Restyle, extend or override a guest's public page.

Affects

  • Guest page

Need this built rather than just documented? See our services →