mkp_base shortcodes
mkp_communities shortcodes
mkp_contacts shortcodes
mkp_igroups shortcodes
mkp_mapper shortcodes
mkp_communities shortcodes
mkp_contacts shortcodes
mkp_igroups shortcodes
mkp_mapper shortcodes
Output:
MKP Base Shortcodes:
All modifiers must precede actions they modify.
- Shortcode Actions:
- shortcodes = bool, action: Display list of plugin shortcodes
- do_shortcode = string, action: Execute a shortcode
- Diagnostic Modifiers:
- verbose = bool, modifier: Display diagnostic messages and long form of notification types
- message = string, modifier: Message text for use by log and notify codes
- source = string, modifier: Prefix diagnostic messages with this text
- Diagnostic Actions:
- report = bool, action: requires: [message] Log a diagnostic message.
- log = bool, action: requires: [message] Log a diagnostic message
- show_diagnostics = bool, action: Display the contents of the log file
- clear_diagnostics = bool, action: Delete the log file
- Notification Modifiers:
- notification_type = bool, modifier: Message notification type}
- type = bool, modifier: Message otification type}
- show_types = bool, action: show notification types
- enabled = bool, modifier: If true, show only enabled notification types
- sticky = bool, modifier: Set notification sticky values
- echo = bool, modifier: Echo notifications in output stream
- Notification Actions:
- notify = bool, action: requires: [message] Create notification message.
- show_notifications = bool, action: Display pending notification messages
- clear_notifications = bool, action: Delete pending notifications
- notifications_tool = bool, action: Load and show interactive notifications tool
- Option Management Modifiers:
- option = string, modifier: option name+
- option_name = string, modifier: option name to be set
- option_value = string, modifier: new option value
- options = bool, modifier: Display current option values
- filter = string, modifier: SQL LIKE value to use as filter on Option Names
- Option Management Actions:
- option_test = bool, action: requires: [option_name,option_value] Perform test of getting and updating a specific option name and value
- options_test = bool, action: Perform test of getting and updating various types of options
- save = bool, action: Make current option values persistent by saving in wp_options table
- set_option = array, action: Set current option value
- show_options = array, action: send current options to log file
- show_site_options = bool, action: Show options for current site
- reset_options = bool, action: Reset options to their default values
- Manage loading of extension classes:
- autoload = bool, action: Automatically load specific extensions - simpler
- unload = bool, action: Disable autoloading
- show_loaded = bool, action: Show which extensions are currently loaded
- show_autoloaded = bool, action: Show which extensions are automatically loaded
- clear_autoload = bool, action: Disable autoloading of any extensions
- Extensions:
- communities = bool, modifier: Load or Autoload the Communities module
- contacts = bool, modifier: Load or Autoload the Contacts module
- igroups = bool, modifier: Load or Autoload the I-Groups module
- mapper = bool, modifier: Load or Autoload the Mapper module
- reload = bool, action: reload XML data
- Area Name
- area_name = bool, modifier: Current area name
- set_area = bool, action: requires: [area_name] Set current area name
- get_area = bool, action: Get current area name
- Site Information Actions:
- site_name = bool, action: Show current multisite name
- site_url = bool, action: Show URL of curent site
- site_info = bool, action: Show current multisite information
- show_version = bool, action: Show current code version
- php_version = bool, action: Show PHP version
MKP Contacts Shortcodes:
All modifiers must precede actions they modify.
- Shortcode display codes:
- show_base_codes = bool, modifier: Include mkp_base shortcodes when showing shortcodes
- shortcodes = bool, action: Show community shortcodes
- verbose = bool, modifier: Display diagnostic messages
- Region, Area and Community specifiers:
- region = string, modifier: region name or "*" for all regions
- area = string, modifier: area name
- community = string, modifier: community name
- children = bool, modifier: Show region or area communities
- role = string, modifier: Select specific roles to display
- Actions:
- reload = bool, action: reload XML data
- list = bool, action: List contacts in selected regions, areas and communities
MKP IGroups Shortcodes:
All modifiers must precede actions they modify.
- Shortcode display codes:
- show_base_codes = bool, modifier: Include mkp_base shortcodes when showing shortcodes
- shortcodes = bool, action: Show community shortcodes
- verbose = bool, modifier: Display diagnostic messages
- Region, Area and Community selector codes:
- region = string, modifier: region name or "*" for all regions
- area = string, modifier: area name
- community = string, modifier: community name
- children = bool, modifier: Show region or area communities
- Filters:
- show_all_igroups = bool, modifier: If false, don't render I-Groups that don't have 'public' set
- show_loggedin_igroups = bool, modifier: If true and user is logged in to the WordPress site, then show everything
- Map-related codes:
- get_latlng = bool, modifier: Get latlng data from file or google (very slow)
- get_lat_lng = bool, modifier: Get latlng data from file or google (very slow)
- show_latlng = bool, modifier: Show Latitude and Longitude information
- show_lat_lng = bool, modifier: Show Latitude and Longitude information
- Actions:
- reload = bool, action: reload XML data
- list = bool, action: show region, area or community names
- map = string, action: {"*" | "region" | "area" | "community"}
MKP Mapper Shortcodes:
All modifiers must precede actions they modify.
- Shortcode display codes:
- show_base_codes = bool, modifier: Include mkp_base shortcodes when showing shortcodes
- shortcodes = bool, action: Show community shortcodes
- verbose = bool, modifier: Display diagnostic messages
- Map codes:
- id = integer, modifier: id of div that contains map
- location = nonce, modifier: id of div that contains json array of i-group locations
- lat = decimal, modifier: latitude of map point
- latitude = decimal, modifier: latitude of map point
- lng = decimal, modifier: longitude of map point
- longitude = decimal, modifier: longitude of map point
- zoom = int, modifier: [optional] Google Zoom value (0..20)- defaults to 10]
- Lookup codes for looking up latitude and longitude of an address
- city = string, modifier: City to look up
- state = string, modifier: State to look up
- zip = int, modifier: Zip Code to look up
- Actions:
- show = bool, action: Display map with corresponding associated data points
- lookup = bool, action: Lookup and return latitude and longitude of address elements