/** * Saves post modules * @return boolean */ public function savePost() { $key = $_REQUEST['id']; if (is_numeric($key)) { return $this->saveAsPostMeta($key); } if (\Modularity\Helper\Post::isArchive()) { global $archive; $key = $archive; } return $this->saveAsOption($key); }