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



get_shortlink › Les Filtres WordPress

Depuis3.0.0
Dépréciéen/a
› apply_filters( 'get_shortlink', $shortlink, $id, $context, $allow_slugs )
Paramètres: (4)
  • () shortlink Shortlink URL.
    Requis: Oui
  • () id Post ID, or 0 for the current post.
    Requis: Oui
  • () context The context for the link. One of 'post' or 'query',
    Requis: Oui
  • () allow_slugs Whether to allow post slugs in the shortlink. Not used by default.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the shortlink for a post.





Source

return apply_filters( 'get_shortlink', $shortlink, $id, $context, $allow_slugs );