Expand the settings


Home Forums Front End PM PRO Expand the settings

This topic is: Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16060
    test programmer
    Participant

    is there the possibility to expand the settings? Now you have the following settings:

    • Send email on message
    • Send email on announcement

    I would like to add an additional notification option that the user can enable or disable. Is this possible? And if yes, how to do this in another custom plugin?

    #16073
    Shamim Hasan
    Keymaster

    You can use following code

    add_filter( 'fep_form_fields', function( $fields ){
        $fields['cus_key'] = array(
    	'type'			=> 'checkbox',
    	'value'			=> fep_get_user_option( 'cus_key', 1),
            'cb_label'		=> __("Your Label", 'front-end-pm' ),
    	'priority'		=> 35,
    	'where'			=> 'settings',
        );
        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.