Homepage

admin_liquid_partial_delete

Last edit: Nov 01, 2026

Permanently deletes a partial found by physical_file_path (or the deprecated
id) and returns it. Raises an error when no such partial exists

admin_liquid_partial_delete(
  id: ID
  physical_file_path: String
): LiquidPartial

Arguments

id (ID)

Deprecated, use physical_file_path. Id of the partial to delete

physical_file_path (String)

physical_file_path of the partial to delete; takes precedence over id

Type

LiquidPartial

Partial (app/views/partials or app/lib): reusable Liquid included with the render, include and function tags

Questions?

We are always happy to help with any questions you may have.

contact us