function DebugMyPluginPanel($label = '') { if ($label == '') { $this->label = __('My Plugin', 'csa-dmp'); } else { $this->label = $label; } parent::__construct(); }
public function Debug_Bar_Panel($title = '') { Debug_Bar_Panel::__construct($title); }
public function __construct($title = '', $callback = '') { $this->tab = $title; $this->callback = $callback; parent::__construct(); }
/** * Assign properties, and call parent constructor. * * @since 1.1.0 * * @param object $logger */ public function __construct($logger) { $this->logger = $logger; parent::__construct(); }