td_api_smart_list::delete

Available on: Newsmag V1.8+, Newspaper V5+
This api call is used to delete one of the existing smart list styles.

Usage:

<?php td_api_smart_list::delete( $id ) ?>

Parameters:

$id (string) (required)

  • the smart list id – has to match with one of the smart lists which are already registered in the theme

Examples:

In the following example we’ll delete the existing Smart List 1 , you can see how the code looks on plugin:

td_api_smart_list::delete('td_smart_list_1');