wp_delete_term Wordpress function


Description:

Removes a term from the database.


Syntax:


Arguments:

(int) $term Term ID
(string) $taxonomy Taxonomy Name
(array|string) $args Optional. Change 'default' term id and override found term ids.


Return Type:

(bool|WP_Error) Returns false if not term; true if completes delete action.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_delete_term


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×