Uses
Uses | Description |
---|---|
wp-includes/meta.php: delete_metadata() | Deletes metadata for the specified object. |
Deletes everything from site meta matching meta key.
(string) (Required) Metadata key to search for when deleting.
(bool) Whether the site meta key was deleted from the database.
File: wp-includes/ms-site.php
function delete_site_meta_by_key( $meta_key ) { return delete_metadata( 'blog', null, $meta_key, '', true ); }
Version | Description |
---|---|
5.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/delete_site_meta_by_key