Home › Forums › CRM › Remove Life Stages Tagged: crm, custom, Life Stage This topic has 4 replies, 2 voices, and was last updated 6 years, 5 months ago by michel. Viewing 4 reply threads Author Posts July 5, 2018 at 4:51 am #18803 michelParticipant Hello, I’ve successfully added custom life stages with filters in my functions.php file in my child theme. Now I have a whole bunch of redundant life stages that I would like to remove. Any ideas on how I can do that? July 5, 2018 at 1:07 pm #18846 Shawon ChowdhuryModerator @michel Do you want to remove default life stages (4 available stages in WP ERP)? Let me know. Thanks! July 5, 2018 at 6:49 pm #18867 michelParticipant Shawon, That’s correct. I don’t use leads, customers and opportunities. July 6, 2018 at 12:11 pm #18885 Shawon ChowdhuryModerator @michel, You have several choices in that case- * override the filter to show the options you are adding newly * remove those options from the core Thanks 🙂 July 7, 2018 at 3:10 am #18951 michelParticipant Nice, that did the job. For those who are wondering about the same, use this code in your child theme’s functions.php add_filter( 'erp_crm_life_stages', function ( $life_stages ) { $life_stages['student'] = 'Student'; $life_stages['opportunity'] = 'Parent'; $life_stages['subscriber'] = 'Alumni'; $life_stages['customer'] = 'Applicant'; $life_stages['teacher'] = 'Teacher'; $life_stages['lead'] = 'Staff'; return $life_stages; }); This reply was modified 6 years, 5 months ago by michel. Author Posts Viewing 4 reply threads The forum ‘CRM’ is closed to new topics and replies.