wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_the_categories › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
› apply_filters( 'get_the_categories', $categories, $post_id )
Paramètres: (2)
  • () categories An array of categories to return for the post.
    Requis: Oui
  • () post_id The post ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the array of categories to return for a post.





Source

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