public function createPost(array $post) { $post["porcelain"] = null; // wp-Cli returns only id return intval($this->runWpCliCommand('post', 'create', $post)); }