delete_{$meta_type}meta

delete_{$meta_type}meta

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('delete_{$meta_type}meta') is found 1 times:

  • /wp-includes/meta.php line 1058
    1054
    1055
    1056
    1057
    1058
    1059
    1060
    1061
    1062
    1063
    1064
         * @since 3.4.0
         *
         * @param int $meta_id ID of the metadata entry to delete.
         */
        do_action( "delete_{$meta_type}meta", $meta_id );
    }
     
    // Run the query, will return true if deleted, false otherwise.
    $result = (bool) $wpdb->delete( $table, array( $id_column => $meta_id ) );
     
    // Clear the caches.