Skip to content

Instantly share code, notes, and snippets.

@benklocek
Created November 12, 2012 22:36
Show Gist options
  • Save benklocek/4062506 to your computer and use it in GitHub Desktop.
Save benklocek/4062506 to your computer and use it in GitHub Desktop.
Wordpress Functions: Woo Site Copyright Override
//Override woocanvas copyright message on left footer
function bracia_woo_shortcode_site_copyright() {
return $output = sprintf( '%1$s%3$s %4$s %5$s%6$s %2$s', $atts['before'], $atts['after'], "&copy; " . date( 'Y' ), get_bloginfo( 'name' ) . '. <a href="/terms-conditions/">', __( 'All Rights Reserved', 'woothemes' ), '</a>.' );
}
add_filter('woo_shortcode_site_copyright', 'bracia_woo_shortcode_site_copyright', 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment