Change the navigation links below the login form.
/** * Change the links that are shown below the login form. * * @since 2.3.0 * * @see pmpro_login_forms_handler_nav * * @param array $links The links for registration, lost password, login. * @param string $pmpro_form The form being displayed (can be login, lost_password). * * @return array $links The updated links to display. */ apply_filters( 'pmpro_login_forms_handler_nav', $links, $pmpro_form ); |
Please note that the $links
array only accepts the following HTML and attributes:
- a
- class
- href
- id
- target
- title
Parameters
- $links
- array
- $pmpro_form
- string
Return Value
$links
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/login.php
View in Source Code