Skip to content
Docs
Get RestroPress

Filter

rpress_paypal_page_style

Updated
On this page

Filters the PayPal page style returned by the deprecated rpress_get_paypal_page_style().

Applied in the deprecated rpress_get_paypal_page_style(). The value is the trimmed paypal_page_style option, defaulting to PayPal.

Parameters#

ParameterTypeDescription
$page_stylestringThe PayPal page style name.

Return value#

string. The page style name.

Example#

function my_paypal_page_style( $page_style ) {
	return 'MyStore';
}
add_filter( 'rpress_paypal_page_style', 'my_paypal_page_style' );

Notes#

Deprecated since 2.8. Use rpress_get_paypal_image_url instead.

Source#

Applied in:

  • includes/deprecated-functions.php (line 466), in rpress_get_paypal_page_style()

See also#

Was this page helpful?