you can use the below hook to delete user meta.
delete_user_meta( wp_get_current_user()->ID, $meta_key );
For more
tutorials you can visit our articles or visit questions page.
You can join us on twitter https://twitter.com/webetutorialcom or subscribe us on YouTube https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber for more web design & development tutorials.
No comments:
Post a Comment