pre_term_{$field}

pre_term_{$field}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_term_{$field}') is found 1 times:

  • /wp-includes/taxonomy.php line 1816
    1812
    1813
    1814
    1815
    1816
    1817
    1818
    1819
    1820
    1821
    1822
    *
     * @param mixed  $value    Value of the term field.
     * @param string $taxonomy Taxonomy slug.
     */
    $value = apply_filters( "pre_term_{$field}", $value, $taxonomy );
     
    /**
     * Filters a taxonomy field before it is sanitized.
     *
     * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer
     * to the taxonomy slug and field name, respectively.