protected function get_default_publish_status() { if ($this->is_moderation_enabled() && !$this->current_user_can_bypass_moderation()) { return 'draft'; } return parent::get_default_publish_status(); }