Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    Maybe the taxonomy “tipologia” is misspelled? Then the hook will not work for it either.

    Moderator bcworkz

    (@bcworkz)

    Assuming “tipologia” is spelled correctly, your code appears to be correct. I tested it on my site using one of my taxonomies in the hook name. No other changes. The field appears correctly on the existing term edit form.

    Are you looking for the added field in the right place? it’s in the existing term’s Edit Tipologia form, not the Add New Tipologia form that appears on the term list table. The new term form uses a different hook: “tipologia_add_form_fields”. This hook passes different data to callbacks so you cannot use the same function for both hooks unless you add code to differentiate which data was passed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘I cant find the php error’ is closed to new replies.