This is a very generic answer but you can’t just rename the plugin, you are also going to have to alter the add_menu_page
and add_submenu_page
registration code starting around line 48 and going to about line 81. You need to change at least the $menu_slug
and $parent_slug
, but probably want to change $page_title
and $menu_title
as well.
And you probably need to alter the afp_get_new_portfolio_item_page
function so that one plugin does not clobber the options of another one.