function admin_options_save($post_id) { if (!it_check_save_action($post_id, 'page')) { return $post_id; } $grid = new GridPortfolio($this->post_id); $grid->update_from_array($_POST)->save(); }