arm_change_profile_and_directory_settings

This Filter is helpful to add custom template by accessing default template values of member profile & directory templates.

Hook Type: Filter
Usage:
add_filter( 'arm_change_profile_and_directory_settings', 'your_function');
function your_function($templates) {
    //$templates Array of default profile & directory templates.
    $templates[] = array(
        'title' => __('Custom Profile Template', MEMBERSHIP_TXTDOMAIN),
        'slug' => 'customprofiletemplate', // Unique template slug.
        'type' => 'profile', // Possible values: 'profile' or 'directory'.
    );
    return $templates;
}
Parameters:
$templates
Array of default profile & directory templates