public function getContentAttribute() { if (empty(self::$shortcodes)) { return $this->post_content; } return $this->stripShortcodes($this->post_content); }