wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



redirect_post_location › Filtr WordPress Hooks

Od2.9.0
Przestarzałyn/a
› apply_filters( 'redirect_post_location', $location, $post_id )
Parametry: (2)
  • () location The destination URL.
    Wymagane: Tak
  • () post_id The post ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the post redirect destination URL.





Źródło

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