-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete Post Meta #572
Comments
Hi @noplanman, I created a PR that help you with this functionality |
@kayobruno Nice, hope it gets merged! 🤞 |
To properly delete a post meta item using Corcel, you can use the $post = Post::find($postId);
$post->deleteMeta('meta_key'); In the above code, replace The Make sure you have the necessary permissions and authentication to delete the meta item. |
What is the proper way to delete post meta?
I'm talking about removing the meta item completely, not just setting it
null
with->saveMeta
!The text was updated successfully, but these errors were encountered: