Add before and after hooks for read page action.
Do you mean when the page is being read in the panel or actually in the frontend?