The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Disable for custom post type (4 posts)

  1. Everice
    Posted 3 years ago #

    Thank you for this amazing plugin! It's helping me to loose less of time.

    But I have some custom types in my WP and I need to disable the Social plugin on these Post Types.

    How can I disable it?
    Can I remove filter? Or action? (Which one?)

    Tank you!


  2. Alex King
    Plugin Contributor

    Posted 3 years ago #

    Yes, there is a filter on the list of post types that determined which post types Social is enabled for.

  3. Carsten Bach
    Posted 3 years ago #

    Wouldn't it make more sense to just remove support for comments on this post_type.
    Since on of the last updates of social, it will recoginze this, I think.

    add_action( 'admin_init', 'cpt_support' );
    function cpt_support() {
            remove_post_type_support( 'YOUR-POST-TYPE-NAME', 'comments' );
  4. michapixel
    Posted 3 years ago #


    Where? I don't see any checkboxes in the admin-area, so i assume it's only by code, which i'd be totally fine with.

    But if this isn't documented, it doesn't help much ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic