WordPress.org

Make WordPress Core

Changeset 27674


Ignore:
Timestamp:
03/24/2014 03:13:06 AM (8 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/includes/taxonomy.php.

Props kpdesign for the initial patch.
Fixes #27433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/taxonomy.php

    r25662 r27674  
    234234    $tags_to_edit = join( ',', $tag_names );
    235235    $tags_to_edit = esc_attr( $tags_to_edit );
     236
     237    /**
     238     * Filter the comma-separated list of terms available to edit.
     239     *
     240     * @since 2.8.0
     241     *
     242     * @see get_terms_to_edit()
     243     *
     244     * @param array  $tags_to_edit An array of terms.
     245     * @param string $taxonomy     The taxonomy for which to retrieve terms. Default 'post_tag'.
     246     */
    236247    $tags_to_edit = apply_filters( 'terms_to_edit', $tags_to_edit, $taxonomy );
    237248
Note: See TracChangeset for help on using the changeset viewer.