LLMS_Update::function_complete( string $function )

Should be called by each update function when it’s finished updates the progress in the functions array

Parameters Parameters


(string) (Required) function name

Top ↑

Return Return


Top ↑

Source Source

File: includes/abstracts/abstract.llms.update.php

	protected function function_complete( $function ) {

		$progress                           = $this->get_progress();
		$progress['functions'][ $function ] = 'done';
		update_option( 'llms_update_' . $this->version, $progress );
		$this->log( sprintf( '%s::%s() is complete', get_class( $this ), $function ) );


Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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