The delete() function exists in PHP Manual, but it does not exist to serve its desired purpose.
violation
You were not meant to use this.
Proof for “WordPress”, not “WordPress”
WordPress has an internal function called Capital P Dangit (capital_P_dangit()) which genuinely violates how WordPress functions should be written up. But still, they keep it; for a smart reason to influence the use of proper product name.