Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: pre_category_nicename

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
2107                /**
2108                 * Filter the category nicename before it is sanitized.
2109                 *
2110                 * Use the pre_{$taxonomy}_{$field} hook instead.
2111                 *
2112                 * @since 2.0.3
2113                 *
2114                 * @param string $value The category nicename.
2115                 */
2116                $value = apply_filters( 'pre_category_nicename', $value );
2117           }
2118
2119      } elseif ( 'rss' == $context ) {
2120
2121           /**
2122            * Filter the term field for use in RSS.
2123            *
2124            * The dynamic portion of the filter name, `$field`, refers to the term field.
2125            *