mkgd_register_settings

The MK Google Directions mkgd register settings function.

Description

mkgd_register_settings(); 

Usage

  1. if ( !function_exists( 'mkgd_register_settings' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'mk-google-directions/mkgd-admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = mkgd_register_settings(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/mkgd-admin.php  
  1. function mkgd_register_settings() { 
  2. //register our settings 
  3. register_setting('mkgd-settings-group', 'mkgd_latitude'); 
  4. register_setting('mkgd-settings-group', 'mkgd_longitude'); 
  5. register_setting('mkgd-settings-group', 'mkgd_default_start_point'); 
  6. register_setting('mkgd-settings-group', 'mkgd_show_start_point'); 
  7. register_setting('mkgd-settings-group', 'mkgd_default_destination_point'); 
  8. register_setting('mkgd-settings-group', 'mkgd_show_destination_point'); 
  9. register_setting('mkgd-settings-group', 'mkgd_language'); 
  10. register_setting('mkgd-settings-group', 'mkgd_units'); 
  11. register_setting('mkgd-settings-group', 'mkgd_width'); 
  12. register_setting('mkgd-settings-group', 'mkgd_height');