Use is_front_page()
and bail at the start of the function if true:
function wpb_last_updated_date( $content ) {
if ( is_front_page() ) {
return $content;
}
// Rest of your function
}
Use is_front_page()
and bail at the start of the function if true:
function wpb_last_updated_date( $content ) {
if ( is_front_page() ) {
return $content;
}
// Rest of your function
}