Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: created_{$taxonomy}

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
3028      /**
3029       * Fires after a new term in a specific taxonomy is created, and after the term
3030       * cache has been cleaned.
3031       *
3032       * @since 2.3.0
3033       *
3034       * @param int $term_id Term ID.
3035       * @param int $tt_id   Term taxonomy ID.
3036       */
3037      do_action( "created_$taxonomy", $term_id, $tt_id );
3038
3039      return array('term_id' => $term_id, 'term_taxonomy_id' => $tt_id);
3040 }
3041
3042 /**
3043  * Create Term and Taxonomy Relationships.
3044  *
3045  * Relates an object (post, link etc) to a term and taxonomy type. Creates the
3046  * term and taxonomy relationship if it doesn't already exist. Creates a term if