Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: terms_to_edit

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
217           return false;
218
219      if ( is_wp_error($tags) )
220           return $tags;
221
222      foreach ( $tags as $tag )
223           $tag_names[] = $tag->name;
224      $tags_to_edit = join( ',', $tag_names );
225      $tags_to_edit = esc_attr( $tags_to_edit );
226      $tags_to_edit = apply_filters( 'terms_to_edit', $tags_to_edit, $taxonomy );
227
228      return $tags_to_edit;
229 }
230
231 /**
232  * {@internal Missing Short Description}}
233  *
234  * @since unknown
235  *