A WordPress-centric search engine for devs and theme authors



logout_url ›

Since2.8.0
Deprecatedn/a
apply_filters( 'logout_url', $logout_url, $redirect )
Parameters: (2)
  • (string) $logout_url The HTML-encoded logout URL.
    Required: Yes
  • (string) $redirect Path to redirect to on logout.
    Required: Yes
Defined at:
Codex:

Filters the logout URL.





Source

return apply_filters( 'logout_url', $logout_url, $redirect );