src/render.php
private function helpers( $handlebars ) {
		$helpers = $this->default_helpers();

		/**
		 *
		 * @param array $helpers {
		 *     Name, class & callback for the helper.
		 *
		 *     @type string $name Name of helper to use in Handlebars.
		 *     @type string $class Class containing callback function.
		 *     @type string $callback. Optional. The name of the callback function. If not set, "helper" will be used.
		 * }
		 * @param obj|\Handlebars\Handlebars $handlebars Handlebars.php class instance
		 *
		 */
		$helpers = apply_filters( 'caldera_metaplate_handlebars_helpers', $helpers, $handlebars );
		$handlebars = new helper_loader( $handlebars, $helpers );

		if ( isset( $handlebars->handlebars ) ) {
			$handlebars = $handlebars->handlebars;
		}

		return $handlebars;

	}
private function helpers( $handlebars ) {
		$helpers = $this->default_helpers();

		/**
		 *
		 * @param array $helpers {
		 *     Name, class & callback for the helper.
		 *
		 *     @type string $name Name of helper to use in Handlebars.
		 *     @type string $class Class containing callback function.
		 *     @type string $callback. Optional. The name of the callback function. If not set, "helper" will be used.
		 * }
		 * @param obj|\Handlebars\Handlebars $handlebars Handlebars.php class instance
		 *
		 */
		$helpers = apply_filters( 'caldera_metaplate_handlebars_helpers', $helpers, $handlebars );
		$handlebars = new helper_loader( $handlebars, $helpers );

		if ( isset( $handlebars->handlebars ) ) {
			$handlebars = $handlebars->handlebars;
		}

		return $handlebars;

	}
private function helpers ( $ handlebars ) { $ helpers = $ this -> default_helpers ( ) ; /**
		 *
		 * @param array $helpers {
		 *     Name, class & callback for the helper.
		 *
		 *     @type string $name Name of helper to use in Handlebars.
		 *     @type string $class Class containing callback function.
		 *     @type string $callback. Optional. The name of the callback function. If not set, "helper" will be used.
		 * }
		 * @param obj|\Handlebars\Handlebars $handlebars Handlebars.php class instance
		 *
		 */ $ helpers = apply_filters ( 'caldera_metaplate_handlebars_helpers' , $ helpers , $ handlebars ) ; $ handlebars = new helper_loader ( $ handlebars , $ helpers ) ; if ( isset ( $ handlebars -> handlebars ) ) { $ handlebars = $ handlebars -> handlebars ; } return $ handlebars ; }
Register helpers.

Adds the default helpers, plus any set on "caldera_metaplate_handlebars_helpers" filter.

@param obj|\Handlebars\Handlebars $handlebars Current instance of Handlebars.

@return \Handlebars\Handlebars Current instance of Handlebars with the additional helpers added on.
Register helpers .