Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_delete_category [ WordPress Function ]

wp_delete_category ( $cat_ID )
Parameters:
  • (int) $cat_ID
Uses:
Returns:
  • (mixed) Returns true if completes delete action; false if term doesn't exist; Zero on attempted deletion of default Category; WP_Error object is also a possibility.
Defined at:



Deletes one existing category.

Source


<?php
function wp_delete_category$cat_ID ) {
    return 
wp_delete_term$cat_ID'category' );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics