wp_increase_content_media_count( int $amount = 1 ): int

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

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

VersionDescription
5.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.