Exemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param object|array $instance Required at all times.
  *                               A parent object instance, which contains the parent's ``$instance``,
  *                               or a new ``$instance`` array.
  */
 public function __construct($instance)
 {
     parent::__construct($instance);
     $s = $this->©menu_page->is_plugin_page('x_related_posts--settings');
     $this->heading_title = $this->__('Main settings');
     $this->sub_heading_description = sprintf($this->__('%1$s settings '), esc_html($this->instance->plugin_name));
 }
 /**
  * Constructor.
  *
  * @param object|array $instance Required at all times.
  *    A parent object instance, which contains the parent's ``$instance``,
  *    or a new ``$instance`` array.
  */
 public function __construct($instance)
 {
     $this->updates_options = TRUE;
     parent::__construct($instance);
     $this->heading_title = $this->__('General Options');
     $this->sub_heading_description = sprintf($this->__('%1$s general configuration options.'), esc_html($this->instance->plugin_name));
 }
Exemplo n.º 3
0
 /**
  * Constructor.
  *
  * @param object|array $instance Required at all times.
  *    A parent object instance, which contains the parent's ``$instance``,
  *    or a new ``$instance`` array.
  */
 public function __construct($instance)
 {
     parent::__construct($instance);
     $this->heading_title = $this->__('Quick-Start Guide');
     $this->sub_heading_description = sprintf($this->__('Quick overview & a few tips regarding %1$s'), esc_html($this->instance->plugin_name));
 }
 /**
  * Constructor.
  *
  * @param object|array $instance Required at all times.
  *    A parent object instance, which contains the parent's ``$instance``,
  *    or a new ``$instance`` array.
  */
 public function __construct($instance)
 {
     parent::__construct($instance);
     $this->heading_title = $this->__('Main Settings');
     $this->sub_heading_description = sprintf($this->__('Configure main settings for %1$s'), esc_html($this->©plugin->instance->plugin_name));
 }
Exemplo n.º 5
0
 /**
  * Constructor.
  *
  * @param object|array $instance Required at all times.
  *    A parent object instance, which contains the parent's ``$instance``,
  *    or a new ``$instance`` array.
  */
 public function __construct($instance)
 {
     parent::__construct($instance);
     $this->heading_title = $this->__('Plugin Updater');
     $this->sub_heading_description = $this->__('Update to the latest version. It\'s quick &amp; easy<em>!</em>');
 }