Created
November 12, 2012 22:36
-
-
Save benklocek/4062506 to your computer and use it in GitHub Desktop.
Wordpress Functions: Woo Site Copyright Override
This file contains 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
//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'], "© " . 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