/** * Gets the content title. * * @access protected * @return string */ protected function content_title() { return $this->content->title() ?: __('Untitled Article', 'apple-news'); }
/** * Get the content title. * * @return string * @access private */ private function content_title() { return $this->content->title() ?: 'Untitled Article'; }