Home Forums Plugins WooCommerce Notification Disable on Custom Post Types

Disable on Custom Post Types

  • Author
    Posts
  • #110200

    kwsim539
    Participant

    I would love to be able to not show the notification on CPT pages and I’ve tried the following to see if it would work but it does not, ( !is_page(array(‘my-account’, ‘my-courses’,)) || !get_post_type() === ‘lessons’ ). It would be much much easier to apply a custom post type than to have a huge array of CPT post IDs. Is there any way this can be accomplished?

You must be logged in to see replies to this topic. Click here to login or register