Form di login standard di WordPress
fonte: https://developer.wordpress.org/reference/functions/wp_login_form/
Per includere la form di login standar din una pagina, plugin o uno shortcode è sufficiente utilizzare la funzione wp_login_form che stampa o torna il codice della sezione.
wp_login_form( array $args = array() ): void|string
Parametri:
- echo [bool] Whether to display the login form or return the form HTML code.
- Default true (echo).
- redirect [string] URL to redirect to. Must be absolute, as in "https://example.com/mypage/".
- Default is to redirect back to the request URI.
- form_id [string] ID attribute value for the form. Default 'loginform'.
- label_username [string] Label for the username or email address field. Default 'Username or Email Address'.
- label_password [string] Label for the password field. Default 'Password'.
...