wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_update_term_parent › WordPress Filter Hooks

Da3.1.0
Deprecaton/a
apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args )
Parametri: (5)
  • (int) $parent_term ID of the parent term.
    Richiesto:
  • (int) $term_id Term ID.
    Richiesto:
  • (string) $taxonomy Taxonomy slug.
    Richiesto:
  • (array) $parsed_args An array of potentially altered update arguments for the given term.
    Richiesto:
  • (array) $args Arguments passed to wp_update_term().
    Richiesto:
Definito a:
Codex:

Filters the term parent.

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





Sorgenti

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