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



redirect_post_location › WordPress Filter Hooks

Da2.9.0
Deprecaton/a
apply_filters( 'redirect_post_location', $location, $post_id )
Parametri: (2)
  • (string) $location The destination URL.
    Richiesto:
  • (int) $post_id The post ID.
    Richiesto:
Definito a:
Codex:

Filters the post redirect destination URL.





Sorgenti

wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) );