Remove setting


Home Forums Front End PM PRO Remove setting

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12516
    Edgar Portelli
    Participant

    Hi Support,

    Is it possible to remove this from the settings?

    Allow others to send me messages?

    If the user disables this, will admins be able to contact him?

    Thanks you

    #12519
    Shamim Hasan
    Keymaster

    Add following code in your theme’s (child theme’s if any) functions.php

    
    add_filter( 'fep_form_fields', function( $fields ){
        unset( $fields['allow_messages'] );
        return $fields;
    });
    
Viewing 2 posts - 1 through 2 (of 2 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.