Filter Hook: Allows for filtering the rewrite slugs individually.
Method: Sets up the rewrite slugs.
Filter Hook: Allows for filtering the community rewrite slugs.
Filter Hook: The appropriate logout URL for the current user.
Method: Add hidden form fields to our rendering of the WordPress login form so we know when logging in is attempted within our context and so we can redirect upon successful login.
Filter Hook: Where to redirect upon successful login from Community Events login form.
Method: Filter the WordPress authentication upon login attempt to force the login error redirect to always fire.
Method: Keep our login form’s failed attempts on the front end, adding a query parameter.
Method: Add the login form notices, such as a failed login message.
Method: Enqueue the admin resources where needed.