Usage_Reports::count_recipe_completion()

count_recipe_completion


Return Return

(void)


Source Source

File: src/core/classes/class-usage-reports.php

	public function count_recipe_completion() {
		$completed_runs = absint( get_option( self::RECIPE_COUNT_OPTION, Automator()->get->total_completed_runs() - 1 ) );
		update_option( self::RECIPE_COUNT_OPTION, ++$completed_runs );
	}