source/php/Editor.php
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);
    }
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);
    }
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 ) ; }
Saves post modules
@return boolean
Saves post modules