Is it possible to replace a
get_template_directory() in my child's functions.php file?
I want to make changes to the file:
/** * Load Custom Post types file. */ require get_template_directory() . '/inc/post-types.php';
I'd obviously prefer my work not be overwritten when I update my theme, so can I un-register the parent file and then re-register my child's file in my child's functions file?