Filter
rpress_register_form
On this page
Filters the HTML of the registration form returned by rpress_register_form().
The function captures the output of the register shortcode template and passes the resulting string through this filter. Use it to wrap or append markup to the registration form.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$html | string | Rendered registration form HTML. |
Return value#
string. The HTML to output.
Example#
function my_register_form( $html ) {
return '<div class="my-register-wrap">' . $html . '</div>';
}
add_filter( 'rpress_register_form', 'my_register_form' );
Source#
Applied in:
includes/login-register.php(line 47), inrpress_register_form()
See also#
Was this page helpful?
