Update custom_post_type.php

to use standardised `activate` and `deactivate` method calls