Deleting metadata of model using HasOneMetadata
deleteMetadata
// Syntax $model->deleteMetadata(): bool
// Delete the metadata if ($model->deleteMetadata()) { echo "Metadata successfully deleted"; } else { echo "No metadata to delete or deletion failed"; } $status = $model->deleteMetadata(); // return boolean
Return Type ⇒ Boolean
Last updated 5 days ago