• Resolved hrwebsolution

    (@hrwebsolution)


    Hi,

    I am using your free profile builder plugin and looking to remove this “Send these credentials via email” checkbox. Can you tell me how to do so?
    The reason is because I am unable to customize mail send via this checkbox.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hrwebsolution

    (@hrwebsolution)

    Sorry for the inconvience, I removed this now by looking in back end coding and find this in your documentation.

    /*
     * Change Send Credentials via Email text. Tags: send credentials, email
     */
    add_filter('wppb_send_credentials_checkbox_logic', 'wppbc_send_credentials_checkbox', 10, 2);
    function wppbc_send_credentials_checkbox($requestdata, $form){
       return '<li class="wppb-form-field wppb-send-credentials-checkbox"><label for="send_credentials_via_email"><input id="send_credentials_via_email" type="checkbox" name="send_credentials_via_email" value="sending"'.( ( isset( $request_data['send_credentials_via_email'] ) && ( $request_data['send_credentials_via_email'] == 'sending' ) ) ? ' checked' : '' ).'/>'.
       __( 'Send these credentials via email.', 'profilebuilder').'</label></li>';
    }

    I’ve edited the code and make this Send these credentials disabled. If there is any front end option to disable then you can suggest me. I’ll change code back as default and disable it from front end.

    • This reply was modified 4 years, 3 months ago by hrwebsolution.
    Plugin Author Cristian Antohe

    (@sareiodata)

    Hi,

    You can do that using the free addon https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/customization-toolbox/

    Then use the “Modify the Send Credentials checkbox” in the fields tab.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to remove “Send credentials via email” checkbox?’ is closed to new replies.