{$taxonomy}_{$field}

{$taxonomy}_{$field}

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

See hook in core

Displaying hooks found in version: wordpress-6.7

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

  • /wp-includes/taxonomy.php line 1897
    		 * @param mixed  $value   Value of the taxonomy field.
    		 * @param int    $term_id Term ID.
    		 * @param string $context Context to retrieve the taxonomy field value.
    		 */
    		$value = apply_filters( "{$taxonomy}_{$field}", $value, $term_id, $context );
    	}
    
    	if ( 'attribute' === $context ) {
    		$value = esc_attr( $value );
    	} elseif ( 'js' === $context ) {
    		$value = esc_js( $value );