wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
pre_get_shortlink › Les Filtres WordPress
Depuis3.0.0
Dépréciéen/a
› apply_filters( 'pre_get_shortlink', false, $id, $context, $allow_slugs )
Paramètres: (4) |
|
Défini(e) dans: |
|
Codex: |
Filters whether to preempt generating a shortlink for the given post.
Returning a value other than false from the filter will short-circuit the shortlink generation process, returning that value instead.
Fonctions en relation: wp_get_shortlink, get_shortcut_link, the_shortlink, wp_get_links, get_author_link, get_post_format_link