WordPress at a glance
function is not described

do_all_enclosures() WP 5.6.0

Perform all enclosures.

No Hooks.

Return

null. Nothing.

Usage

do_all_enclosures();

Changelog

Since 5.6.0 Introduced.

Code of do_all_enclosures() WP 5.7.2

<?php
function do_all_enclosures() {
	$enclosures = get_posts(
		array(
			'post_type'        => get_post_types(),
			'suppress_filters' => false,
			'nopaging'         => true,
			'meta_key'         => '_encloseme',
			'fields'           => 'ids',
		)
	);

	foreach ( $enclosures as $enclosure ) {
		delete_post_meta( $enclosure, '_encloseme' );
		do_enclose( null, $enclosure );
	}
}