Home API td_api_category_template::delete

td_api_category_template::delete

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

Usage:

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

Parameters:

$id (string) (required)

  • the category top section template id – has to match with one of the category top section templates which are already registered in the theme

Examples:

In the following example we’ll delete the existing <em>Category Template 1</em> , you can see how the code looks on plugin:

td_api_category_template::delete('td_category_template_1');