In what order should the bbdd data of wordpress be deleted?

0

I am developing a free plugin for wordpress and I have a question when uninstalling the plugin. The plugin creates a custom post type, and some custom fields that are saved in postmeta. I have seen that there are several functions, but I get a little messed up.

My question is: If I want to eliminate these custom fields from the bbdd, the function I should use is delete_post_meta ()?

I ask because I've also seen the delete_metadata () function, and they do the same, do not they?

Thanks for your time and help.

    
asked by PiP 19.06.2018 в 12:24
source

0 answers