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)
  • () parent_term ID of the parent term.
    Requis: Oui
  • () term_id Term ID.
    Requis: Oui
  • () taxonomy Taxonomy slug.
    Requis: Oui
  • () parsed_args An array of potentially altered update arguments for the given term.
    Requis: Oui
  • () 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 );