Adding shortcode and doc for bibco search
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 3 May 2017 15:14:11 +0000 (11:14 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 3 May 2017 15:14:11 +0000 (11:14 -0400)
setup/shortcodes.php
setup/validActions.php

index 1fb7d24..63676aa 100644 (file)
@@ -115,6 +115,15 @@ $glmMembersApisShortcodes = array(
             //'template' => false,
         )
     ),
+    'glm-members-api-bibco-search' => array(
+        'plugin'     => GLM_MEMBERS_APIS_PLUGIN_SLUG,
+        'menu'       => 'apis',
+        'action'     => 'bibcoSearch',
+        'table'      => false,
+        'attribute'  => array(
+            'template' => false
+        )
+    ),
 );
 
 $glmMembersApisShortcodesDescription = '
@@ -139,6 +148,13 @@ $glmMembersApisShortcodesDescription = '
         <td width="50%">
             Pulls in the Directory for Harbor Point Golf Club
         </td>
+    </tr>
+     <tr>
+        <th>[glm-members-api-bibco-search]</th>
+        <td>&nbsp;</td>
+        <td width="50%">
+            Pulls in the Search for Bibco
+        </td>
     </tr>
     ';
 
index 8926334..ad1fd63 100644 (file)
@@ -60,7 +60,7 @@
 $glmMembersApisAddOnValidActions = array(
     'adminActions' => array(
         'ajax' => array(
-            'schedule'  => GLM_MEMBERS_APIS_PLUGIN_SLUG,
+            'schedule'          => GLM_MEMBERS_APIS_PLUGIN_SLUG,
             'scheduleDropdown'  => GLM_MEMBERS_APIS_PLUGIN_SLUG,
             'scheduleOffcanvas' => GLM_MEMBERS_APIS_PLUGIN_SLUG,
             'scheduleFooterNav' => GLM_MEMBERS_APIS_PLUGIN_SLUG,