wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_update_term_parent › Les Filtres WordPress

Depuis3.1.0
Dépréciéen/a
apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args )
Paramètres: (5)
  • (int) $parent_term ID of the parent term.
    Requis: Oui
  • (int) $term_id Term ID.
    Requis: Oui
  • (string) $taxonomy Taxonomy slug.
    Requis: Oui
  • (array) $parsed_args An array of potentially altered update arguments for the given term.
    Requis: Oui
  • (array) $args Arguments passed to wp_update_term().
    Requis: Oui
Défini(e) dans:
Codex:

Filters the term parent.

Hook to this filter to see if it will cause a hierarchy loop.





Source

$parent = (int) apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args );