From: Steve Sutton Date: Fri, 7 Jul 2017 15:45:59 +0000 (-0400) Subject: Add help to the help tab for import. X-Git-Tag: v1.1.0^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9557e675a80a5572697f123c519f1ea40686c7a7;p=WP-Plugins%2Fglm-member-db-social.git Add help to the help tab for import. Adding help tab for the social media import. --- 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; + } + ); }