admin_liquid_layout_delete
Last edit: Nov 10, 2026
Permanently deletes a layout found by physical_file_path (or the deprecated
id) and returns it. Pages that still use the layout are not checked. Raises an
error when no such layout exists
admin_liquid_layout_delete(
id: ID
physical_file_path: String
): LiquidLayout
Arguments
id (ID)
Deprecated, use physical_file_path. Id of the layout to delete
physical_file_path (String)
physical_file_path of the layout to delete; takes precedence over id
Type
LiquidLayout
Layout (app/views/layouts): Liquid that wraps the content of pages and emails