public function on_save_post($post_id) { $css_file = new Post_CSS_File($post_id); $css_file->update(); }