Automator_DB_Handler_Recipes::delete( int $recipe_id )


Parameters Parameters

$recipe_id

(int) (Required)


Source Source

File: src/core/lib/utilities/db/class-automator-db-handler-recipes.php

	public function delete( int $recipe_id ) {
		global $wpdb;

		// delete from uap_recipe_log
		$wpdb->delete(
			$wpdb->prefix . Automator()->db->tables->recipe,
			array( 'automator_recipe_id' => $recipe_id )
		);
	}