W3cubDocs

/WordPress

wp_increase_content_media_count( int $amount = 1 ): int

Increases an internal content media count variable.

Parameters

$amountintoptional
Amount to increase by.

Default:1

Return

int The latest content media count, after the increase.

Source

	__FUNCTION__,
	__( 'An image should not be lazy-loaded and marked as high priority at the same time.' ),
	'6.3.0'
);
/*
 * Set `fetchpriority` here for backward-compatibility as we should
 * not override what a developer decided, even though it seems

Changelog

Version Description
5.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_increase_content_media_count