Closed bmcleod closed 6 years ago
As per the readme, I've added the following code to my functions.php. "locations" is the name of my custom post type. I cannot seem to get it to work. Any suggestions?
function locations_customize($cptmenu) { $cptmenu['page_title'] = 'Dev Custom title'; $cptmenu['menu_title'] = 'Dev Custom title'; return $cptmenu; } add_filter('locations_acf_page_args', 'locations_customize');
Hi Blake,
You need to add the prefix cpt_ on your filter. addfilter('**cpt**locations_acf_page_args', 'locations_customize');
Hope this would help!
As per the readme, I've added the following code to my functions.php. "locations" is the name of my custom post type. I cannot seem to get it to work. Any suggestions?