wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_update_term_parent › Filtr WordPress Hooks

Od3.1.0
Przestarzałyn/a
› apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args )
Parametry: (5)
  • () parent_term ID of the parent term.
    Wymagane: Tak
  • () term_id Term ID.
    Wymagane: Tak
  • () taxonomy Taxonomy slug.
    Wymagane: Tak
  • () parsed_args An array of potentially altered update arguments for the given term.
    Wymagane: Tak
  • () args Arguments passed to wp_update_term().
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the term parent.

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




Źródło

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