Hide Items in profile manager

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 2 reply threads
  • Author
    Posts
    • #45695
      Jose
      Participant

      Hi,

      I would like to hide “language choice” and “about”, in profile manager, because we don’t use it.

      Can you please tell me how can I do ?

      Thank you

      Attachments:
      You must be logged in to view attached files.
    • #45990
      WCFM Forum
      Member

      Hi,

      Please add this code to your child theme’s functions.php –

      add_filter( 'wcfm_profile_fields_language', function( $profile_field, $user_id ) {
      	return array();
      }, 50, 2 );
      
      add_filter( 'wcfm_profile_fields_about', function( $profile_field, $user_id ) {
      	return array();
      }, 50, 2 );

      Thank You

    • #46023
      Jose
      Participant

      Work perfect !!

      Thanks so much !!

Viewing 2 reply threads
  • The topic ‘Hide Items in profile manager’ is closed to new replies.