Update my-magic-functions.php

Collection some custom functions used in WordPress themes integration