Skip to content

Instantly share code, notes, and snippets.

View Audiovoyeur's full-sized avatar

AudioVoyeur Audiovoyeur

View GitHub Profile
@Audiovoyeur
Audiovoyeur / gist:744a56097cfc4fe1935ee30cf921c6d4
Created October 11, 2017 13:59 — forked from gyrus/gist:3155982
Rename WordPress "Posts" to "News"
<?php
/**
* Rename "Posts" to "News"
*
* @link http://new2wp.com/snippet/change-wordpress-posts-post-type-news/
*/
add_action( 'admin_menu', 'pilau_change_post_menu_label' );
add_action( 'init', 'pilau_change_post_object_label' );
function pilau_change_post_menu_label() {