If you want to remove all of the single listing’s action links (share, claim listing, upload photos), then you can use the following code. (Requires version 1.0.1.3 or higher).
functions.php
be sure to omit the first line (<?php
) when adding the code to your file.