WP_Textdomain_Registry::init()

In this article

Initializes the registry.

Description

Hooks into the ‘upgrader_process_complete’ filter to invalidate MO files caches.

Source

public function init() {
	add_action( 'upgrader_process_complete', array( $this, 'invalidate_mo_files_cache' ), 10, 2 );
}

Changelog

VersionDescription
6.5.0Introduced.

User Contributed Notes

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