Skip to content

Instantly share code, notes, and snippets.

@generatepress
Created August 4, 2014 20:49
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save generatepress/36c0c52479679252af28 to your computer and use it in GitHub Desktop.
Save generatepress/36c0c52479679252af28 to your computer and use it in GitHub Desktop.
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