[ad_1]
Hi
I was just wondering if there is any reason or difference why there are `get_…` functions like `get_the_title()` and also `wp_get_…` like `wp_get_post_parent_id()`
Thanks
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Most likely it is due to correcting a shortcoming of legacy code. The `wp_` prefixed code is from the “modern” era of WordPress code, where the `wp_` prefix is used to signal a core WP function. For reference `get_the_title()` is from v0.71.