wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
pre_get_shortlink › Hooks de Filtros WordPress
Desde3.0.0
Obsoleton/a
› apply_filters( 'pre_get_shortlink', false, $id, $context, $allow_slugs )
| Parâmetros: (4) |
|
| Definido em: |
|
| 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.Funções relacionadas: wp_get_shortlink, get_shortcut_link, the_shortlink, get_author_link, wp_get_links, get_month_link
Hooks relacionados: get_shortlink, the_shortlink, pre_get_networks, pre_get_posts, pre_get_search_form