Hooks or Filters to Modify Custom Post Type?
-
From https://docs.mailpoet.com/article/71-customize-your-confirmation-pages
MailPoet adds a custom post type on your site that is used to show the subscription Confirmation page and the Unsubscribe page.
However in most cases, this custom post type will inherit the post template and will show undesired sections from your theme, like comments, trackback, social share icons, etc.
Yes, this does happen and is not desirable. However, neither is creating a standalone page for each virtual mailpoet page. The documentation mentions 2 but there are more.
Is it possible modify this custom post type by throwing some code into a functions file, to remove the comments and author name?
The topic ‘Hooks or Filters to Modify Custom Post Type?’ is closed to new replies.