Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: split_shared_term

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
4175       * Fires after a previously shared taxonomy term is split into two separate terms.
4176       *
4177       * @since 4.2.0
4178       *
4179       * @param int    $term_id          ID of the formerly shared term.
4180       * @param int    $new_term_id      ID of the new term created for the $term_taxonomy_id.
4181       * @param int    $term_taxonomy_id ID for the term_taxonomy row affected by the split.
4182       * @param string $taxonomy         Taxonomy for the split term.
4183       */
4184      do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy );
4185
4186      return $new_term_id;
4187 }
4188
4189 /**
4190  * Splits a batch of shared taxonomy terms.
4191  *
4192  * @since 4.3.0
4193  *