/** * Save the locked stathe of the html editor * @param $data * @param $postarr * @return mixed */ public function save_html_lock_state($data, $postarr) { $static_generator = new StaticGenerator(); $static_generator->save_html_lock_state($postarr['ID']); return $data; }