Created
August 4, 2014 20:49
-
-
Save generatepress/36c0c52479679252af28 to your computer and use it in GitHub Desktop.
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
add_action('after_setup_theme','generate_copyright_remove_default_message'); | |
function generate_copyright_remove_default_message() | |
{ | |
remove_action( 'generate_credits', 'generate_add_footer_info' ); | |
remove_action( 'generate_copyright_line','generate_add_login_attribution' ); | |
} | |
/** | |
* Add the custom copyright | |
* @since 0.1 | |
*/ | |
add_action('generate_credits','generate_copyright_add_custom_message'); | |
function generate_copyright_add_custom_message() | |
{ | |
?> | |
Your new message in here | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment