Exemplo n.º 1
0
 /**
  * Class constructor.
  *
  * @since 141111 First documented version.
  */
 public function __construct()
 {
     $plugin = plugin();
     // Needed below.
     $args = ['singular_name' => 'subscription', 'plural_name' => 'subscriptions', 'singular_label' => __('subscription', 'comment-mail'), 'plural_label' => __('subscriptions', 'comment-mail'), 'screen' => $plugin->menu_page_hooks[GLOBAL_NS . '_subs']];
     parent::__construct($args);
     // Parent constructor.
 }
 /**
  * Class constructor.
  *
  * @since 141111 First documented version.
  */
 public function __construct()
 {
     $plugin = plugin();
     // Needed below.
     $args = ['singular_name' => 'queue_event_log_entry', 'plural_name' => 'queue_event_log_entries', 'singular_label' => __('queue event log entry', 'comment-mail'), 'plural_label' => __('queue event log entries', 'comment-mail'), 'screen' => $plugin->menu_page_hooks[GLOBAL_NS . '_queue_event_log']];
     parent::__construct($args);
     // Parent constructor.
 }