From: Steve Sutton Date: Fri, 7 Jul 2017 14:58:26 +0000 (-0400) Subject: Add help tab for contacts X-Git-Tag: v1.1.0^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c5def265c926e9f99b05d9bd0921737c106fe6a6;p=WP-Plugins%2Fglm-member-db-contacts.git Add help tab for contacts Add help menu tab for Member Contacts. --- diff --git a/setup/adminTabs.php b/setup/adminTabs.php index 79060f5..52beb4b 100644 --- a/setup/adminTabs.php +++ b/setup/adminTabs.php @@ -102,6 +102,18 @@ if (current_user_can('glm_members_management')) { return $addOnTabs; } ); + add_filter( 'glm-member-db-add-help-for-import', + function( $helpTabs ){ + $helpTabs[] = array( + 'id' => 'glm-member-db-import-help-contacts', + 'title' => __( 'Member Contacts' ), + 'content' => '

' . __( 'Follow the Sample File provided in creating the file for member contact import. + Each record must have the following fields.

' ) . '

' + ); + return $helpTabs; + } + ); } ?>