Created
March 4, 2020 13:22
-
-
Save dougaitken/e350ccc81c610d2cbd13b1d170bbdb40 to your computer and use it in GitHub Desktop.
Disable Jetpack Publicize for WooCommerce Products
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// turn off Publicize for Products only | |
add_action('init', 'doug_woo_publicize_remove'); | |
function doug_woo_publicize_remove() { | |
remove_post_type_support( 'product', 'publicize' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment