Available on: Newsmag V1.8+, Newspaper V5+
This API call is used to delete one of the existing top bar template.
<?php td_api_top_bar_template::delete( $id ) ?>
$id (string) (required)
- the top bar template id – has to match with one of the top bar templates which are already registered in the theme
In the following example we’ll delete the existing Top Bar Template 1 , you can see how the code looks on plugin: