From 2b62df22b3555e43c5aee9f8ddad42b7f13628a1 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 7 May 2015 05:27:36 +0000 Subject: [PATCH] Add a description to the hook documentation for the `created_$taxonomy` action to clarify the dynamic portion of the hook name. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32451 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 1b93971fb2..b39c5571ff 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -3047,6 +3047,8 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) { * Fires after a new term in a specific taxonomy is created, and after the term * cache has been cleaned. * + * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. + * * @since 2.3.0 * * @param int $term_id Term ID.