public function __construct() { parent::__construct('extra-page-post-settings', __('Extra Settings', 'extra'), array('post_type' => array('post', 'page', EXTRA_LAYOUT_POST_TYPE, EXTRA_PROJECT_POST_TYPE, 'product'), 'context' => 'side')); }
public function __construct() { global $shortname; $this->shortname = $shortname; parent::__construct('et-post-format', __('Format', $this->shortname), array('post_type' => 'post', 'context' => 'side', 'priority' => 'default')); }