Skip to content

Instantly share code, notes, and snippets.

@mattyza
Created May 13, 2014 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattyza/976b1edd1ed368c15557 to your computer and use it in GitHub Desktop.
Save mattyza/976b1edd1ed368c15557 to your computer and use it in GitHub Desktop.
Add a custom network to the Subscribe & Connect plugin, by WooThemes.
function my_custom_add_connect_network ( $networks ) {
if ( ! isset( $networks['woothemes'] ) ) {
$networks['woothemes'] = __( 'WooThemes', 'subscribe-and-connect' );
}
return $networks;
} // End my_custom_add_connect_network()
add_filter( 'subscribe_and_connect_supported_networks', 'my_custom_add_connect_network' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment