Filter
rpress_success_page_url
On this page
Filters the success page URL returned by the deprecated rpress_get_success_page_url().
Applied in the deprecated rpress_get_success_page_url(), which simply wraps rpress_get_success_page_uri() with the optional query string. The filter fires only for legacy callers of the deprecated function.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | string | The success page URL including the optional query string. |
Return value#
string. The success page URL.
Example#
function my_success_page_url( $url ) {
return add_query_arg( 'ref', 'site', $url );
}
add_filter( 'rpress_success_page_url', 'my_success_page_url' );
Notes#
Deprecated since 2.6. Use rpress_get_success_page_uri() instead.
Source#
Applied in:
includes/deprecated-functions.php(line 319), inrpress_get_success_page_url()
See also#
Was this page helpful?
