td_api_footer_template::delete

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

Usage:

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

Parameters:

$id (string) (required)

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

Examples:

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

td_api_footer_template::delete('td_footer_template_1');