Custom field filter for setting the request array up with custom fields
attributes for the member list short code.
$actionData['request']['region-search'] = $_REQUEST['regionSearch'];
}
*/
-
+ $actionData = apply_filters( 'glm-member-db-front-search-request', $actionData );
// Check for "show" shortcode parameter (what elements to show on the page)
$settings = array();
$showList = $actionData['request']['show'];
'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general',
'cacheControl' => array(
'active' => false,
- 'cacheTime' => '2 WEEK' // MySQL "DATE_ADD" time interval - see https://www.w3schools.com/sql/func_date_add.asp
+ 'cacheTime' => '2 WEEK' // MySQL "DATE_ADD" time interval - see https://www.w3schools.com/sql/func_date_add.asp
),
'attributes' => array(
'type' => false,
'action' => 'featured',
'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general',
'attributes' => array (
- 'number' => 1
+ 'number' => 1
)
)
);
+ $glmMembersShortcodes = apply_filters( 'glm-custom-fields-shortcodes', $glmMembersShortcodes );
$glmMembersShortcodesDescription = '
<tr><th>Shortcode</th><th>Attribute</th><th>Description</th></tr>