Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Change default Post Type name/label

function revcon_change_post_label() {
    global $menu;
    global $submenu;
    $menu[5][0] = 'Examples';
    $submenu['edit.php'][5][0] = 'Examples';
    $submenu['edit.php'][10][0] = 'Add Example';
    $submenu['edit.php'][16][0] = 'Example Tags';
    echo '';
}
function revcon_change_post_object() {
    global $wp_post_types;
    $labels = &$wp_post_types['post']->labels;
    $labels->name = 'Examples';
    $labels->singular_name = 'Example';
    $labels->add_new = 'Add Example';
    $labels->add_new_item = 'Add New Example';
    $labels->edit_item = 'Edit Example';
    $labels->new_item = 'New Example';
    $labels->view_item = 'View Example';
    $labels->search_items = 'Search Examples';
    $labels->not_found = 'No Examples found';
    $labels->not_found_in_trash = 'No Examples found in Trash';
    $labels->all_items = 'All Examples';
    $labels->menu_name = 'Examples';
    $labels->name_admin_bar = 'Examples';
}
 
add_action( 'admin_menu', 'revcon_change_post_label' );
add_action( 'init', 'revcon_change_post_object' );