Quantcast
Channel: tagDiv support
Viewing all articles
Browse latest Browse all 280

td_api_single_template::delete

$
0
0

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

Usage:

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

Parameters:

$id (string) (required)

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

Examples:

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

td_api_single_template::delete('single_template_1');

Viewing all articles
Browse latest Browse all 280

Trending Articles