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



get_the_categories › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'get_the_categories', $categories, $post_id )
Parametri: (2)
  • () categories An array of categories to return for the post.
    Richiesto: Sì
  • () post_id The post ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the array of categories to return for a post.





Sorgenti

return apply_filters( 'get_the_categories', $categories, $post_id );