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



the_category_list › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'the_category_list', get_the_category( $post_id )
Parametri: (2)
  • () categories An array of the post's categories.
    Richiesto: Sì
  • () post_id ID of the post to retrieve categories for. When `false`, defaults to the current post in the loop.
    Richiesto: Sì
Definito a:
Codex:

Filters the categories before building the category list.





Sorgenti

$categories = apply_filters( 'the_category_list', get_the_category( $post_id ), $post_id );