Add_User_Recipe_Type

Class Add_User_Recipe_Type


Source Source

File: src/core/classes/class-add-user-recipe-type.php

class Add_User_Recipe_Type {
	public function __construct() {
		add_action( 'automator_add_recipe_type', [ $this, 'add_user_type_recipe' ] );
	}
	public function add_user_type_recipe() {

		Automator()->register->recipe_type( 'user', array(
			'name'        => 'User',
			'icon_16'     => Utilities::automator_get_integration_icon( 'integration-uncannyautomator-icon-16.png' ),
			'icon_32'     => Utilities::automator_get_integration_icon( 'integration-uncannyautomator-icon-32.png' ),
			'icon_64'     => Utilities::automator_get_integration_icon( 'integration-uncannyautomator-icon-64.png' ),
			'logo'        => Utilities::automator_get_integration_icon( 'integration-uncannyautomator.png' ),
			'logo_retina' => Utilities::automator_get_integration_icon( 'integration-uncannyautomator@2x.png' ),
		) );

	}
}

Methods Methods