function my_callout_visibility( $bool ) {
// Hide on the front page
if ( is_front_page() ) {
$bool = false;
}
// Return boolean
return $bool;
}
add_filter( 'wpex_callout_enabled', 'my_callout_visibility', 20 );
Snippets: Conditionally Show/Hide The Footer Callout
All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)