/**
  * This is the callback of the metabox
  * used to display the modules options page
  * form fields
  *
  * @return	void
  */
 public function draw_options_page_form_fields()
 {
     $post_types = $this->get_custom_post_types();
     if (empty($post_types)) {
         return;
     }
     $data = new Mlp_Cpt_Translator_Extra_General_Settings_Box_Data($this, $this->nonce_validator);
     $box = new Mlp_Extra_General_Settings_Box($data);
     $box->print_box();
 }
Пример #2
0
 /**
  * This is the callback of the metabox used to display
  * the modules options page form fields
  *
  * @since	0.1
  * @access	public
  * @uses	get_site_option, _e
  * @return	void
  */
 public function draw_options_page_form_fields()
 {
     $data = new Mlp_Quicklink_Positions_Data($this->nonce_validator);
     $box = new Mlp_Extra_General_Settings_Box($data);
     $box->print_box();
 }