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
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.