• Resolved David Pasqualone

    (@ascend2glory)


    We’ve noticed that everytime we add a new product in WooCommerce, it automatically sends out a social media post when Publicize is on. We want to use Publicize for legitimate posts, but not products. How do we turn off products being automatically uploaded to Facebook and LinkedIn? Thank you! ??

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @ascend2glory

    By default, WooCommerce includes Publicize support and your new products will be auto-posted to your social media accounts.

    You can disable this functionality by adding the following code snippet:

    add_action('init', 'woo_publicize_remove');
    function woo_publicize_remove() {
      remove_post_type_support( 'product', 'publicize' );
    }

    Let me know if you have any questions.

    My best regards,

    Michelle

    Thread Starter David Pasqualone

    (@ascend2glory)

    Thank you Michelle!

    Question though. Where is the best place to add this code? I’m using a WordPress platform running Divi as the theme on this site. And thank you again!! ??

    Hi @ascend2glory

    You can add the snippet using a plugin like Code Snippets:

    https://www.ads-software.com/plugins/code-snippets/

    You would then want to create a snippet using that plugin, and set it to run only Once there. If that stops from working, you can switch the settings to “Only run in administration area”.

    Let us know if there’s anything else!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can you stop Publicize from posting new products?’ is closed to new replies.