Browse: Home / Snippets /

Remove Unsubscribe link from Notifications addon email

Contents


Snippet #

add_action( 'wp_loaded', function () {
   remove_filter( 'learndash_notifications_email_content', array(
      LD_Notifications_Subscription_Manager::class,
'subscription_notice',
), 99 );

remove_action( 'template_include', array( LD_Notifications_Subscription_Manager::class, 'subscription_page' ) );
} );