ACF

Updater::refresh_plugins_transientpublicACF 5.5.10

Deletes cached ACF plugin update transients and allows a fresh lookup.

Method of the class: Updater{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Updater = new Updater();
$Updater->refresh_plugins_transient( $id );
$id(string|false)
The plugin ID to clear specific plugin info transient. If provided, will delete the 'acf_plugin_info_{id}' transient.
Default: false

Changelog

Since 5.5.10 Introduced.

Updater::refresh_plugins_transient() code ACF 6.8.8

public function refresh_plugins_transient( $id = false ) {
	delete_transient( 'acf_plugin_updates' );
	if ( ! empty( $id ) && is_string( $id ) ) {
		delete_transient( 'acf_plugin_info_' . $id );
	}
}