<?php
/* 
= Change 'posts' text to custom
* WordPress: *** Untested ***
* Version: 1.0
* URL: elbone.com.au
* Files: functions.php
*/

// Change "Posts" menu name in admin (e.g. "Articles")
// *** Untested ***
add_filter('gettext','change_post_to_article');
add_filter('ngettext','change_post_to_article');
function change_post_to_article( $translated ) {
    $translated = str_ireplace('Post', 'Article', $translated );
    return $translated;
}

// Menu only
add_action( 'admin_menu', 'edit_admin_menus' );
function edit_admin_menus() {
	global $menu;
	$menu[5][0] = 'Recipes'; // Change Posts to Recipes
}

?>