Warning: This method has been deprecated. v2.1 Automator()->register->recipe_type instead.

Automator_Functions::register_recipe_type( null $recipe_type = null,  $recipe_details = array() )

Register a new recipe type and creates a type if defined and the type does not exist


Parameters Parameters

$recipe_type

(null) (Optional)

Default value: null

$recipe_details

(Optional)

Default value: array()


Top ↑

Return Return

(null|bool)


Source Source

File: src/core/lib/class-automator-functions.php

	/**
	 * Register a new recipe type and creates a type if defined and the type does not exist
	 *
	 * @param null $recipe_type
	 * @param array $recipe_details
	 *
	 * @return null|bool