td_api_category_top_posts_style::delete

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

Usage:

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

Parameters:

$id (string) (required)

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

Examples:

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

td_api_category_top_posts_style::delete('td_category_top_posts_style_1');