td_api_thumb::delete

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

Usage:

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

Parameters:

$id (string) (required)

  • the thumbnail id – has to match with one of the thumbnails which are already registered in the theme

Examples:

In the following example we’ll delete the existing Thumbnail 100×75 , you can see how the code looks on plugin:

td_api_thumb::delete('td_100x75');