changing backend names/labels

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4027

    Olly
    Admin & Mod
    
    add_filter('wppizza_cpt_lbls','my_wppizza_cpt_lbls');
    function my_wppizza_cpt_lbls($lbl){
    	/**change menu name from WPPizza to My Shop. print_r($lbl) to view all variables**/
    
    	$lbl['menu_name']='My Shop';
    	return $lbl;
    }
    
    #10385

    River Taylor
    Participant

    would I put this in the wp functions php or the wppizza function php

    #10391

    Olly
    Admin & Mod

    any codesnippets and such (unless otherwise specified) will always belong into your THEMES functions.php

    (or better still, your child theme’s functions.php)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘changing backend names/labels’ is closed to new replies.