From 9557e675a80a5572697f123c519f1ea40686c7a7 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 7 Jul 2017 11:45:59 -0400 Subject: [PATCH] Add help to the help tab for import. Adding help tab for the social media import. --- setup/adminTabs.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/setup/adminTabs.php b/setup/adminTabs.php index e21abde..ea7fc11 100644 --- a/setup/adminTabs.php +++ b/setup/adminTabs.php @@ -90,4 +90,16 @@ if (current_user_can('glm_members_members')) { return $addOnTabs; } ); + add_filter( 'glm-member-db-add-help-for-import', + function( $helpTabs ){ + $helpTabs[] = array( + 'id' => 'glm-member-db-import-help-social', + 'title' => __( 'Social Media' ), + 'content' => '

' . __( 'Follow the Sample File provided in + creating the file for the member social media import. Each + record must have the "member_id" field' ) . '

' + ); + return $helpTabs; + } + ); } -- 2.17.1