/**
  * Determine the current module state (on/off).
  * NOTE: the module file must correspond
  * with the 'slug' provided, i.e. cpt-module.php
  * must have 'cpt-module' as a slug parameter.
  *
  * @access	private
  * @since	0.1
  * @return	FALSE | if turned off
  */
 private function module_init()
 {
     // Check module state
     $module_init = array('display_name' => 'User Backend Language', 'slug' => 'class-' . __CLASS__);
     if ('off' === parent::get_module_state($module_init)) {
         return FALSE;
     }
 }
 /**
  * Determine the current module state (on/off).
  *
  * @since 0.1
  * @return FALSE  | if turned off
  */
 private function module_init()
 {
     // Check module state
     $module_init = array('display_name' => __('Default Actions', 'multilingualpress'), 'slug' => 'class-' . __CLASS__);
     if ('off' === parent::get_module_state($module_init)) {
         return FALSE;
     }
 }
 /**
  * Determine the current module state (on/off).
  * NOTE: the module file must correspond
  * with the 'slug' provided, i.e. cpt-module.php
  * must have 'cpt-module' as a slug parameter.
  *
  * @access	private
  * @since	0.1
  * @return	FALSE | if turned off
  */
 private function module_init()
 {
     // Check module state
     $module_init = array('display_name' => 'Custom Post Types', 'slug' => 'class-' . __CLASS__);
     if ('off' === parent::get_module_state($module_init)) {
         return FALSE;
     }
 }
 /**
  * Determine the current module state (on/off).
  * NOTE: the module file must correspond
  * with the 'slug' provided, i.e. cpt-module.php
  * must have 'cpt-module' as a slug parameter.
  *
  * @since	0.1
  * @access	private
  * @return	FALSE | if turned off
  */
 private function module_init()
 {
     // Check module state
     $module_init = array('display_name' => 'Quicklink', 'slug' => 'class-' . __CLASS__, 'deactivation' => array('Multilingual_Press_Quicklink', 'deactivate_module'));
     if ('off' === parent::get_module_state($module_init)) {
         return FALSE;
     }
 }
 /**
  * Determine the current module state (on/off).
  *
  * Required parameters:
  *  - display_name : name to display in the modules manager
  *  - slug : must correspond with the filename, i.e. slug 'my-module' must be of file my-module.php
  *
  * Optional parametes:
  *  - deactivation : array containing classname / methodname for deactivation.
  *
  * @access	private
  * @since	0.1
  * @return FALSE | if turned off
  */
 private function module_init()
 {
     // Check module state
     $module_init = array('display_name' => 'Multilingual Press Advanced Translator', 'slug' => 'class-' . __CLASS__);
     if ('off' === parent::get_module_state($module_init)) {
         return FALSE;
     }
 }