Alterar labels no menu administrativo do Wordpress

add_filter( 'gettext', 'change_post_to_article' ); add_filter( 'ngettext', 'change_post_to_article' ); function change_post_to_article( $translated ) { $translated = str_replace( 'Post', 'Article', $translated ); $translated = str_replace( 'post', 'article', $translated ); return $translated; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.