Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a way to edit the text "thank you for creating with Wordpress" in version 3.3.1 at the bottom of the CMS? If so what file do I need to edit?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

Credit definitely goes to @kaiser, but here you go:

function wpse_edit_footer()
{
    add_filter( 'admin_footer_text', 'wpse_edit_text', 11 );
}

function wpse_edit_text($content) {
    return "New Footer Text";
}
add_action( 'admin_init', 'wpse_edit_footer' );
share|improve this answer
    
That actually changed the version which was on the right, I actually want to change the phrase in my question. –  Rob Mar 22 '12 at 13:53
1  
@rob - thanks - edited the answer to be correct for you. –  cale_b Mar 22 '12 at 14:02

Just hook into the filter. The only thing remaining will be the <hr />.

/**
 * Change/Disable the footer text line
 * @return void
 */
function wpse_remove_footer()
{
    add_filter( 'admin_footer_text',    '__return_false', 11 );
    add_filter( 'update_footer',        '__return_false', 11 );
}
add_action( 'admin_init', 'wpse_remove_footer' );
share|improve this answer
    
Ok thanks, I don't want to remove it though, just edit what it says. –  Rob Mar 22 '12 at 13:42
    
@Rob Just replace the __return_false callback fn for admin_footer_text with a custom callback that does a return with your custom string. –  kaiser Mar 22 '12 at 13:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.