Skip to content
Docs
Get RestroPress

Filters

Updated 1 min read

Filters let you change a value before RestroPress uses it: a price, a label, a list of statuses, an email subject, the HTML of a template part. Register a callback with add_filter( 'hook_name', 'your_function', $priority, $accepted_args ). The callback receives the value as its first parameter and must return a value of the same type.

Pages below are listed alphabetically. Names with a part in braces, such as rpress_get_option_{$key}, are built at run time. The page explains which values the placeholder can take.

All 801 filters

Was this page helpful?