Closure_Setup::set_author( $author )


Parameters Parameters

$author

(Required)


Source Source

File: src/core/lib/recipe-parts/closures/trait-closure-setup.php

	protected function set_author( $author ) {
		if ( empty( $author ) ) {
			$this->author = Automator()->get_author_name( $this->closure_code );
		} else {
			$this->author = $author;
		}
	}