Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_category_form

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
542 if ( 'category' == $taxonomy ) {
543      /**
544       * Fires at the end of the Edit Category form.
545       *
546       * @since 2.1.0
547       * @deprecated 3.0.0 Use {$taxonomy}_add_form instead.
548       *
549       * @param object $arg Optional arguments cast to an object.
550       */
551      do_action( 'edit_category_form', (object) array( 'parent' => 0 ) );
552 } elseif ( 'link_category' == $taxonomy ) {
553      /**
554       * Fires at the end of the Edit Link form.
555       *
556       * @since 2.3.0
557       * @deprecated 3.0.0 Use {$taxonomy}_add_form instead.
558       *
559       * @param object $arg Optional arguments cast to an object.
560       */