This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$singular_name = 'Book'; // Enter the singular name for your new post type within the quotes | |
$plural_name = 'Books'; // Enter the plural name of your new post type within the quotes | |
function divi_projects_rename() { | |
global $wp_post_types; | |
global $singular_name; | |
global $plural_name; | |
$labels = $wp_post_types['project']->labels; |